Re: Dotlock vs Kernel lock

1999-06-02 Thread J.H.M. Dassen
On Wed, Jun 02, 1999 at 10:33:56 -0400, Carl Mummert wrote: > Unfortunately, I can think of about 5 different ways of locking a file. For mail programs, this is standardised within Debian (http://www.debian.org/doc/debian-policy/ch5.html#s5.5). They use liblockfile, or implement dot locking themse

Re: Dotlock vs Kernel lock

1999-06-02 Thread Carl Mummert
>What is the difference between these two lock methods, and which one would be >considered to be most "stable"? I do also have the option to use both, but why >would I want that? Kernel locking relies on a flag to the open() command which tells the krnel to reserve the file. dot-locking relises o

Dotlock vs Kernel lock

1999-06-02 Thread Christian Dysthe
Hi, my mail reader (XFmail) has an option to lock the mail spool with either dotlock or kernel lock. Lately (potato) I have had some problems with XFmail and locking of the spool file. It crashes after the file is locked, and I have to kill the lock process. What is the difference between these t