Comment 48 for bug 136804

Revision history for this message
Tormod Volden (tormodvolden) wrote :

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?