Re: [PATCH 2/2] Intel BIOS RAID array not recognized (#565458)

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

 



diff --git a/storage/udev.py b/storage/udev.py
index 681cf24..02a54e7 100644
--- a/storage/udev.py
+++ b/storage/udev.py
@@ -151,7 +151,9 @@ def udev_device_is_dm(info):

  def udev_device_is_md(info):
      """ Return True if the device is a mdraid array device. """
-    return info.has_key("MD_METADATA")
+    # isw raid set *members* have MD_METADATA set, but are not arrays!
+    return info.has_key("MD_METADATA") and \
+           info.get("ID_FS_TYPE") != "isw_raid_member"

  def udev_device_is_cciss(info):
      """ Return True if the device is a CCISS device. """

Ack.

_______________________________________________
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