[blivet][master,rhel7-branch] get dm partition's disk reliably

David Lehman dlehman at redhat.com
Tue Feb 17 14:59:19 UTC 2015


There have been two methods used for this in the past: regex substition
and sysfs path traversal. Both have fatal flaws. This method's only
vulnerability is udev ceasing to provide the required data item.

There's an updates image out for testing in the bug (1190886), but I'm
fairly confident already because this patch has been on my uevents-
branch for a while now. I had issues with the patch from 1181336 when I
was testing using disk images (which use partitioned dm devices), and
I believe they're seeing the same in 1190886.



More information about the anaconda-patches mailing list