diff options
author | Matt Wilson <msw@redhat.com> | 2001-08-07 21:42:37 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-08-07 21:42:37 +0000 |
commit | 2b251841a6b8781df8af19c44a2c8c37ba9c2c01 (patch) | |
tree | 870d6aa077570c8e73e7d8bd8f4077bc9d7d6379 /fsset.py | |
parent | 51854ab7d8235c036444b35334e5e18ab8384385 (diff) | |
download | anaconda-2b251841a6b8781df8af19c44a2c8c37ba9c2c01.tar.gz anaconda-2b251841a6b8781df8af19c44a2c8c37ba9c2c01.tar.xz anaconda-2b251841a6b8781df8af19c44a2c8c37ba9c2c01.zip |
if we fail to mount ext2 filesystems on md devices, give ext3 a try. (#51145)
register the raid devices we mkraid with the partitioning layer
hup the raid devices and start the existing ones so we can pull labels off them in case we have a label conflict(#51148)
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -75,8 +75,10 @@ class LabelFactory: if self.labels == None: self.labels = {} - diskset = partitioning.DiskSet() + diskset = partitioning.DiskSet() diskset.openDevices() + diskset.stopAllRaid() + diskset.startAllRaid() labels = diskset.getLabels() del diskset self.reserveLabels(labels) @@ -1113,6 +1115,7 @@ class RAIDDevice(Device): ( 'mkraid', '--really-force', '--configfile', raidtab, node ), stderr = "/dev/tty5", stdout = "/dev/tty5") + partitioning.register_raid_device(self.device) self.isSetup = 1 return node |