diff options
author | David Lehman <dlehman@redhat.com> | 2009-12-15 18:20:54 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-12-16 12:26:38 -0600 |
commit | 996621a5898fe56b35273eb5ef4de974e07531e2 (patch) | |
tree | 0483e9703c089cb55b9b00caa6b28cecfb7a76fd /storage/formats | |
parent | 844f835e3b1ad8974ee1eb6cc37b285cf346c42d (diff) | |
download | anaconda-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.py | 5 |
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) |