On Sat, 23 Feb 2008, Joel Reicher wrote:
AFAIK most c-client file formats (everything except unix and mmdf?)
require flock() (or a simulated equivalent) to work. Since it doesn't work
over NFS I'd say folder corruption is inevitable if pine (or anything else)
is accessing these (better!) formats over NFS.

That's correct as far as it goes. But it's more than just flock(). They also requires that the filesystem implement correct UNIX filesystem semantics.

For example, if the file's metadata says that the file contains 3281 bytes, the file actually should contain 3281 bytes and not 2931 or 5842 bytes. NFS updates these two things separately, and as long as the file is open read-write by some process it is possible for an NFS client to get a view in which the file metadata says one thing and the data something else. That confuses the hell out of applications that are doing shared read-write access!

-- Mark --

http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to