summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2006-07-07 17:05:56 +0000
committerPaul Nasrat <pnasrat@redhat.com>2006-07-07 17:05:56 +0000
commite93c3ef69b9ff4bfe55dafb7816186b76ade0ec5 (patch)
treeb5e246ed269825877599c4e27dd92f05be1e9b35 /rescue.py
parentdb2bdab2ed860338a01b481cd4e56d479e67ce58 (diff)
downloadanaconda-e93c3ef69b9ff4bfe55dafb7816186b76ade0ec5.tar.gz
anaconda-e93c3ef69b9ff4bfe55dafb7816186b76ade0ec5.tar.xz
anaconda-e93c3ef69b9ff4bfe55dafb7816186b76ade0ec5.zip
PSU, PSU wherefore art though...
rescue.py (runRescue): Move label reading to partedUtils.py. partedUtils.py (DiskSet.findExistingRootPartitions): Look up filesystem labels as we find root partitions, as we won't have LVM active if we wait until later (#196345).
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/rescue.py b/rescue.py
index 63a879a85..0c771c17b 100644
--- a/rescue.py
+++ b/rescue.py
@@ -310,12 +310,7 @@ def runRescue(anaconda):
scroll = 0
partList = []
- for (drive, fs, relstr) in disks:
- try:
- label = isys.readFSLabel(drive, makeDevNode=0)
- except:
- label = None
-
+ for (drive, fs, relstr, label) in disks:
if label:
partList.append("%s (%s)" % (drive, label))
else: