[master 5/13] Resolve md names in udev info.

dwlehman installerbot-noreply at redhat.com
Thu Mar 19 19:59:27 UTC 2015


From: David Lehman <dlehman at redhat.com>

---
 blivet/udev.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/blivet/udev.py b/blivet/udev.py
index 27035ee..db8c27f 100644
--- a/blivet/udev.py
+++ b/blivet/udev.py
@@ -143,6 +143,8 @@ def device_get_name(udev_info):
     """ Return the best name for a device based on the udev db data. """
     if "DM_NAME" in udev_info:
         name = udev_info["DM_NAME"]
+    elif "MD_DEVNAME" in udev_info:
+        name = udev_info["MD_DEVNAME"]
     else:
         name = udev_info.sys_name
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/ed42d705ef17e7d28ce34746dd64b49886e9b658


More information about the anaconda-patches mailing list