[linux-lvm] [patch] support /sys/block being symlinks instead of directories

Kay Sievers kay.sievers at vrfy.org
Tue Aug 14 13:34:01 UTC 2007


Hi,
this patch removes the assumption that device directories in /sys are
always real directories. With the work-in-progress unification of all
sysfs devices, they will show up as symlinks pointing into a single
device tree if the kernel does not set CONFIG_SYSFS_DEPRECATED.

It also adds direct support for a future "block as a class", which will
not have any hierarchy to recurse to find all block devices.

 $ diffstat  lvm2-future-proof-sysfs.patch
 filter-sysfs.c |   91 +++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 56 insertions(+), 35 deletions(-)

Thanks,
Kay

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lvm2-future-proof-sysfs.patch
Type: text/x-patch
Size: 4407 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20070814/4123a6bb/attachment.bin>


More information about the linux-lvm mailing list