Re: mailbox locking in debian
In article <[🔎] Pine.A32.3.93.961012124931.12164A-100000@lacerta.ece.utexas.edu>,
Guy Maor <maor@ece.utexas.edu> wrote:
>On Sat, 12 Oct 1996, Loic Prylli wrote:
>
>> So what is the proper way to lock a user mailbox ?
>
>The proper way is with the <user>.lock file. Policy manual 4.3
>documents this.
>
>You should file bug reports against any programs that use a different
>method.
I am about to file a lot of bugreports on programs that use the user.lock
file. Only procmail gets it right; it creates a temp file and tries
to lock by link(2)ing to the lockfile.
Most other programs (deliver, elm etc) use O_EXCL which fails over
NFS because NFS has no O_EXCL. And the main reason we use the dotlock
convention is so that it works over NFS..
Mike.
--
| Miquel van Smoorenburg \ The answer to Life, the Universe and Everything \
| miquels@drinkel.cistron.nl \ Just reinstall windows and try again, sir. \
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: