From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45476014.2080506@free.fr> Date: Tue, 31 Oct 2006 15:39:16 +0100 From: Anel Philippe User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] 9P and locking References: <3190d0e50610250505j723f392fp319da7ff20adc313@mail.gmail.com> <3190d0e50610310625s6a571ca3ne7150d46a86ac297@mail.gmail.com> In-Reply-To: <3190d0e50610310625s6a571ca3ne7150d46a86ac297@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: d96afcee-ead1-11e9-9d60-3106f5b1d025 Locking is implemented through DMEXCL bit. See open(2). Phil; Alejo Sanchez a =E9crit : > Hi guys. > > I'm doing a minimal user space 9P implementation for a special > distributed network storage. One of the features missing on the 9P > protocol is file locking. Do you know why it was kept outside? Or am I > missing something? > > So far my plan to extend is to have messages mimicking fcntl, but > maybe that's not the best way to get it done. Did anyone work on > locking and would like to share their experience or opinion? > > Cheers. > > Alejo > >