Skip to contentSkip to conversation

fs locks: export informational name

DISCUSSION Davidlohr Bueso 2 participants 2 messages Jan 28, 2012 – Jan 30, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I'm currently rewritting lslk(8) from scratch so we can integrate it in util-linux, and continue maintaining it.

In order to not break userspace, the kernel is currently exporting the major:minor numbers of the device where the locked file resides. Could we agree on defining WE_CAN_BREAK_LSLK_NOW and start exporting the informational name instead?

Thanks,
Davidlohr

maintainer
#1 lore raw
Quoted 7 lines · Davidlohr Bueso

I'm currently rewritting lslk(8) from scratch so we can integrate it in util-linux, and continue maintaining it.

In order to not break userspace, the kernel is currently exporting the major:minor numbers of the device where the locked file resides. Could we agree on defining WE_CAN_BREAK_LSLK_NOW and start exporting the informational name instead?

--disable-lslk should be enough :-)

We can support DEV column (with maj:min), but not use it on the default output please. We have ReleaseNotes and man page where we can describe possible differences between original and u-l version.

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com