On Sat, 22 Jan 2005, Dan McMahill wrote: > does this work when you have multiple machines and networked file systems? > For example, the design is on system A, and you have designers on B and C. > B and C access the design files by NFS, AFS, SMBFS, etc.
flock will NOT work across NFS. But lockf or fcntl WILL work across NFS, SMBFS. Sorry, I'm not familiar with AFS. I don't know if flock works with SMBFS. lockf and fcntl are POSIX compliant. To sum up: DO NOT use flock. Use lockf or fcntl. -- Martin
