summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-02-15 12:48:58 +0100
committerHans de Goede <hdegoede@redhat.com>2010-02-16 13:10:26 +0100
commit0b65338b0bb6a83a31fd0121cee6d7a699a47b29 (patch)
tree9ae9815fef944a167c6a83cce943ae3f8e8220ac /storage
parent27b318046f479c3ec227736548d8b3403b6accf4 (diff)
downloadanaconda-0b65338b0bb6a83a31fd0121cee6d7a699a47b29.tar.gz
anaconda-0b65338b0bb6a83a31fd0121cee6d7a699a47b29.tar.xz
anaconda-0b65338b0bb6a83a31fd0121cee6d7a699a47b29.zip
Intel BIOS RAID array not recognized (#565458)
Due to recent changes in udev_is_md_array, Intel BIOS RAID array members are wrongly identified as RAID arrays instead of as RAID array members, this causes the actual raid array to not be seen by anaconda.
Diffstat (limited to 'storage')
-rw-r--r--storage/udev.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/udev.py b/storage/udev.py
index 681cf24b6..02a54e737 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. """