summaryrefslogtreecommitdiffstats
path: root/storage/formats
diff options
context:
space:
mode:
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)