lockfile type locks

Chip Salzenberg chip at tct.uucp
Tue Jul 10 23:34:54 AEST 1990


According to les at chinet.chi.il.us (Leslie Mikesell):
>Looking at the code for a mailer that uses lockfiles (/usr/mail/logname.lock)
>to obtain exclusive access to the mail file I've become convinced that
>there is *no* robust way to detect and delete lockfiles that have been
>accidentally left in place.

That's about the size of it.  If you want robustness, kernel locking
is the only way to go.
-- 
Chip Salzenberg at ComDev/TCT     <chip at tct.uucp>, <uunet!ateng!tct!chip>



More information about the Comp.unix.questions mailing list