summaryrefslogtreecommitdiffstats
path: root/storage/devicetree.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-08-11 17:00:55 -0500
committerDavid Lehman <dlehman@redhat.com>2009-08-17 17:02:49 -0500
commitdc3cba5f8de8871f68143d256858af9ee3865844 (patch)
tree8dcd67f242f125fc7dfa7c451ccd5ab132d11db7 /storage/devicetree.py
parent09dedb3eb60f0ff4637f5f28a862eb66bb043aa6 (diff)
downloadanaconda-dc3cba5f8de8871f68143d256858af9ee3865844.tar.gz
anaconda-dc3cba5f8de8871f68143d256858af9ee3865844.tar.xz
anaconda-dc3cba5f8de8871f68143d256858af9ee3865844.zip
Don't use StorageDevice for partitions w/ biosraid formatting. (#504002)
Diffstat (limited to 'storage/devicetree.py')
-rw-r--r--storage/devicetree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/devicetree.py b/storage/devicetree.py
index 7a8257a8d..8ecf81530 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1203,7 +1203,7 @@ class DeviceTree(object):
log.debug("%s is a cdrom" % name)
if device is None:
device = self.addUdevOpticalDevice(info)
- elif udev_device_is_biosraid(info):
+ elif udev_device_is_biosraid(info) and udev_device_is_disk(info):
# This is special handling to avoid the "unrecognized disklabel"
# code since biosraid member disks won't have a disklabel. We
# use a StorageDevice because DiskDevices need disklabels.