email redirection question

Ben Scott dragonhawk at gmail.com
Fri Sep 8 12:50:02 EDT 2006


Jerry Feldman <gaf at blu.org> writes:
>>> I've seen sharing of the  /var/spool/mail directory work reasonably
>>> well ...

On 9/8/06, Jerry Feldman <gaf at blu.org> wrote:
> Locking on Unix and Linux is advisory and has been for a number of years. In
> addition, NFS locking has bitten me in the ass, but in a different way. I
> modified the utmp(5) locking mechanism several years ago to use lockf(3).
> However, in a specific case, this would cause init(8) to hang on a diskless
> system because the lockf(3) function requires the lock daemon to be
> running. I subsequently modified it to use flock(2) which has different
> semantics and does not apply locks across networks. I then actually had to
> write my own lock system call in Tru64 Unix because the semantics were
> changing for flock(2) that would cause the same problem that lockf(3) did.

  This must be some new meaning of "reasonably well" that I wasn't
previously aware of.  ;-)

-- Ben



More information about the gnhlug-discuss mailing list