summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2008-04-08 14:46:27 -0400
committerJeremy Katz <katzj@redhat.com>2008-04-08 14:47:22 -0400
commit7432bc52a4fe4fc8effb95356792a3eb35384d5e (patch)
treef39b083776572d7db7ddfe7d8ccec603b5286157 /isys
parentff9a3eb34dbc2c2c07d9e46d5f6dbc56504dad7f (diff)
downloadanaconda-7432bc52a4fe4fc8effb95356792a3eb35384d5e.tar.gz
anaconda-7432bc52a4fe4fc8effb95356792a3eb35384d5e.tar.xz
anaconda-7432bc52a4fe4fc8effb95356792a3eb35384d5e.zip
Don't treat RAID devices as "disks" to avoid lots of odd behavior (#438358)
Diffstat (limited to 'isys')
-rwxr-xr-xisys/isys.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 6dc7f7542..f15448e14 100755
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -421,6 +421,10 @@ def driveDict(klassArg):
log.info("ignoring st device %s" %(device,))
continue
+ # we want to ignore md devices as they're not hard disks in our pov
+ if device.startswith("md"):
+ continue
+
if dev['storage.drive_type'] != 'disk':
new[device] = dev
continue