Re: flock, fcntl, lockf?
- From: Michael Shuler <michael@xxxxxxxxxxxxxx>
- Date: Mon, 14 Jan 2008 09:57:12 -0600
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.
--
Kind Regards,
Michael Shuler
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: flock, fcntl, lockf?
- From: Hendrik Boom
- Re: flock, fcntl, lockf?
- References:
- flock, fcntl, lockf?
- From: Hendrik Boom
- flock, fcntl, lockf?
- Prev by Date: flock, fcntl, lockf?
- Next by Date: Re: NetworkManager and XFCE for wireless support
- Previous by thread: flock, fcntl, lockf?
- Next by thread: Re: flock, fcntl, lockf?
- Index(es):
Relevant Pages
|