[PATCH 19/19] Multipath members should not be added to the ignored disk list.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We don't want multipath members ignored (yet), because we need
addUdevDevice() to act on them.
---
 storage/devicetree.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 3c81b65..4df31bc 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -886,8 +886,10 @@ class DeviceTree(object):
         if name in self._ignoredDisks:
             return True
 
-        if udev_device_is_disk(info) and not udev_device_is_md(info) and \
-           not udev_device_is_dm(info):
+        if udev_device_is_disk(info) and \
+                not udev_device_is_md(info) and \
+                not udev_device_is_dm(info) and \
+                not udev_device_is_multipath_member(info):
             if self.exclusiveDisks and name not in self.exclusiveDisks:
                 self.addIgnoredDisk(name)
                 return True
-- 
1.6.5.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux