[dm-devel] A better solution than "md_component_detection = 1"

Greg KH gregkh at suse.de
Wed Apr 20 23:42:56 UTC 2005


On Sun, Apr 10, 2005 at 07:29:31PM +0200, Lars Marowsky-Bree wrote:
> Proposed solution: Introduce sub-devices into the sysfs tree. (And,
> automatically, backlink those to parent devices, but that's just so the
> tree can be traversed in any order.)
> 
> For example, /sys/block/sda would have a sub/ directory with "dm-0" in
> there, pointing at /sys/block/dm-0 (surprise). The
> /sys/block/dm-0/parent/sd{a,b} entries would do a very surprising
> thing.

I don't have a problem with this, and I don't think udev would either.
There's nothing keeping this from happening today with regards to the
sysfs code.

thanks,

greg k-h




More information about the dm-devel mailing list