On Tue, 2008-01-08 at 11:50 +0100, Michael Kerrisk wrote: > Hi Trond, > > I suspect you and Timo are coming at this from different angles, and I > think Timo's angle is closer to what I was thinking of when I asked my > question. What I'm wondering about is this: two naive programs that use > O_APPEND, unaware that the file they are writing to is on NFS. Will > O_APPEND work in the expected way. It sounds to me as though the answer is > (still, even with NFSv4) no, right?
If the two programs are running on the same client, then the answer is (and always has been), that O_APPEND will work correctly. If the two programs are not both running on the same client, then as far as NFS is concerned, the question is nonsensical: there is no support for two clients writing to the same file at the same time. Applications that wish to do so have to use an appropriate file locking scheme. Trond -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]