[lockdev-devel] patches?

Ludwig Nussel ludwig.nussel at suse.de
Thu Mar 4 15:08:09 UTC 2010


Ludwig Nussel wrote:
> Roger Leigh wrote:
> >   - We do need to cater for block device locking, which the new code
> >     does do.  Could we use 'b' rather than 'x' for the prefix though,
> >     and fall back on 'x' if it's neither block nor character as a
> >     safety measure?  This just makes the naming more descriptive.
> 
> Sure.

Correction. SVr4 lock file only make sense with devices as the file
name includes major and minor numbers. So for regular files all SVr4
lock files would have the same name. I'll send a patch that doesn't
create a SVr4 lock if the file is not a device.

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\   
 V_/_  http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)



More information about the lockdev-devel mailing list