From dc3cba5f8de8871f68143d256858af9ee3865844 Mon Sep 17 00:00:00 2001 From: David Lehman Date: Tue, 11 Aug 2009 17:00:55 -0500 Subject: Don't use StorageDevice for partitions w/ biosraid formatting. (#504002) --- storage/devicetree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage/devicetree.py') 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. -- cgit