A new and very robust method for doing file locking over NFS?

Ben Hutchings do-not-spam-ben.hutchings at businesswebsoftware.com
Mon Apr 28 14:35:31 EDT 2003


In article <lck7dix0iv.fsf at gaffa.mit.edu>, Douglas Alan wrote:
> Ben Hutchings <do-not-spam-ben.hutchings at businesswebsoftware.com> writes:
> 
>> The usual solution for creating a lock file in an NFS-safe way is:
> 
> Yes, this is the method described in the Red Hat man page for the
> open() system call, which I mentioned, but it doesn't solve the
> unlocking problem, which remains, I believe, as I described.

You're quite right.  There probably isn't a solution.  Welcome to NFS.




More information about the Python-list mailing list