[lvm-devel] [PATCH] pid files cleanup

Alasdair G Kergon agk at redhat.com
Fri Jul 9 13:20:18 UTC 2010


On Fri, Jul 09, 2010 at 11:04:04AM +0200, Fabio M. Di Nitto wrote:
> - create_lockfile can probably use fcntl_lock_file, but I am not
> entirely sure about its behavior yet (specially the waiting note in the
> header), so I choose a safe path for now and use a known (to me)
> implementation.
 
Don't worry about that now if the code is moving to libdevmapper anyway.
Sharing it just brings in the existing code that can create the
directory path if it's not there, but it really always should be!

Alasdair




More information about the lvm-devel mailing list