In article <[EMAIL PROTECTED]>,
Guy Maor  <[EMAIL PROTECTED]> 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 \
| [EMAIL PROTECTED] \ Just reinstall windows and try again, sir.     \

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]

Reply via email to