Related: rhbz#1070095
Signed-off-by: mulhern amulhern@redhat.com --- blivet/udev.py | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/blivet/udev.py b/blivet/udev.py index a1ff007..126fbf9 100644 --- a/blivet/udev.py +++ b/blivet/udev.py @@ -375,8 +375,13 @@ def udev_device_get_md_devices(info): return int(info["MD_DEVICES"])
def udev_device_get_md_uuid(info): + """ The uuid of the array of which this device is a member. """ return info["MD_UUID"]
+def udev_device_get_md_device_uuid(info): + """ The uuid of the device, not of the array of which it is a member. """ + return info['MD_DEV_UUID'] + def udev_device_get_md_container(info): return info.get("MD_CONTAINER")