Now for the "proper" fix of udev. I am not sure how this works for other
kinds of raids, but for my fakeraid, the disk volumes (/dev/sda and
/dev/sdb) have ID_FS_USAGE = "raid", and all partitions on these should
not be exposed (since they are not really partitions). So if udev
detects a device of type "partition", and the parent volume is "raid",
it should just ignore it and not make a device node.

This is implemented in the attached patch for the udev rules. Note that
the test is located just after the ID_* for the parent are imported. Any
ideas for setups that could be broken by this modification?

** Attachment added: "do not make device nodes for "partitions" on raid volumes"
   http://launchpadlibrarian.net/16254650/ignore-raid-members-udev.patch

-- 
vol_id run for partitions on RAID disks
https://bugs.launchpad.net/bugs/136804
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to