On Mon, 14 Jan 2008 09:57:12 -0600, Michael Shuler wrote: > On 01/14/2008 09:34 AM, Hendrik Boom wrote: >> What's the right way these days to lock a file (or possibly a part of a >> file) to prevent damage from simultaneous writing? > > I suppose the answer could be, "depends on what you want to do.." I > think that flock() does not work on NFS mounts, if that is any > consideration. > Yes. That's a big consideration. -- hendrik