On Dec 18, 2008, at 4:03 PM, ron minnich wrote:
On Thu, Dec 18, 2008 at 3:57 PM, Russ Cox <[email protected]> wrote:
I would just seek to the end.
That's fine unless you have multiple
programs writing O_APPEND simultaneously,
in which case you are asking for trouble.


yep. The code in nfs clients to support O_APPEND is a wonder to
behold. A nicer combination of rubber bands and paper clips you never
did see.

Its fun, yes. But I believe this is more of a testament to the statelessness of the NFS plus the fact that the "end of file" is not a well defined offset (unlike beginning of
the file).

Thanks,
Roman.

Reply via email to