[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] lockfiles revisited
Joerg Dietrich schrieb am Mittwoch, den 14. Februar 2001:
> I think we have a misunderstanding here. I want to get rid of the
> lockfile. No call to unlink() at all.
Might be appreciated. How about consistency of overviews?
> The only thing that needs to be locked is the groupinfo. My idea
> was to open the groupinfo file, put an exclusive fcntl() lock on
> it and release the lock by calling close() on the groupinfo
> file descriptor.
> I don't care about O_TRUNC. No program from the leafnode family
> uses O_TRUNC anywhere.
Good, so this is a non-issue (I don't have the code at hand at work).
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list