summaryrefslogtreecommitdiffstats
path: root/storage/formats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-12-15 18:20:54 -0600
committerDavid Lehman <dlehman@redhat.com>2009-12-16 12:26:38 -0600
commit996621a5898fe56b35273eb5ef4de974e07531e2 (patch)
tree0483e9703c089cb55b9b00caa6b28cecfb7a76fd /storage/formats
parent844f835e3b1ad8974ee1eb6cc37b285cf346c42d (diff)
downloadanaconda-996621a5898fe56b35273eb5ef4de974e07531e2.tar.gz
anaconda-996621a5898fe56b35273eb5ef4de974e07531e2.tar.xz
anaconda-996621a5898fe56b35273eb5ef4de974e07531e2.zip
Hide biosraid member devices that contain MDRaidMember formats.
This brings the behavior in line with other (dmraid) biosraid members.
Diffstat (limited to 'storage/formats')
-rw-r--r--storage/formats/mdraid.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/formats/mdraid.py b/storage/formats/mdraid.py
index 17b01bb58..9983da4b2 100644
--- a/storage/formats/mdraid.py
+++ b/storage/formats/mdraid.py
@@ -64,6 +64,7 @@ class MDRaidMember(DeviceFormat):
self.raidMinor = None
#self.probe()
+ self.biosraid = False
def probe(self):
""" Probe for any missing information about this format. """
@@ -93,6 +94,10 @@ class MDRaidMember(DeviceFormat):
# XXX hack -- we don't have a nice way to see if the array is active
return False
+ @property
+ def hidden(self):
+ return (self._hidden or self.biosraid)
+
def writeKS(self, f):
f.write("raid.%s" % self.mdUuid)