[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: flock() over NFS



> > FYI, if we mount the NFS filesystem with -nolock, this gets around the
> > behaviour, but it also opens up the posibility of problems for programs
> > using fcntl().  Any ideas on how to resolve this would be appreciated!

> I think fnctl() for locking is really supposed to be the way going
> forward.. If all your makefiles are belong to some flock-a-file util,
> then switching that util shouldn't be *too* painful, true?

False; this has been tried and it appears fcntl() is unable to lock
files in certain instances when flock() was able to lock them.

I don't have all the details, but thanks for responding.

/Brian/

-- 
       Brian Long                      |         |           |
       IT Data Center Systems          |       .|||.       .|||.
       Cisco Linux Developer           |   ..:|||||||:...:|||||||:..
       Phone: (919) 392-7363           |   C i s c o   S y s t e m s



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]