make dmraid play nice with udev
Bug #106177 reported by
Tormod Volden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dmraid (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dmraid
This is a wishlist bug: Make dmraid use the "new world-order" event-based detection, and assemble fakeraid arrays as soon as the corresponding block devices are detected. Similar work has already been done for lvm, mdadm, etc.
I should probably sketch up a "Blueprint" specification for this, but for the moment I'll attach files and patches here, which I have tested successfully on my system which has root on a mirror fakeraid (Intel).
Changed in dmraid: | |
status: | Unconfirmed → Confirmed |
Changed in dmraid: | |
status: | Confirmed → Invalid |
To post a comment you must log in.
Here is a udev rule that works. To improve this further, udev (vol_id) should be extended to detect fakeraid members, so that the rule could be written to only trigger when relevant block devices are discovered.