summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-08-05 18:54:18 +0000
committerErik Troan <ewt@redhat.com>2000-08-05 18:54:18 +0000
commit70829399b9e87fd79a544e865a0f355ea018dfd7 (patch)
treed366d37664e9b8b642ad56bd2fc7d15cf431c273 /fstab.py
parent0fcca6c8ca3dc4981c8dcfb3fb7b790b0b63ce76 (diff)
downloadanaconda-70829399b9e87fd79a544e865a0f355ea018dfd7.tar.gz
anaconda-70829399b9e87fd79a544e865a0f355ea018dfd7.tar.xz
anaconda-70829399b9e87fd79a544e865a0f355ea018dfd7.zip
try to read label on all partitions, not just ext2
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/fstab.py b/fstab.py
index cdd53294d..b48bc310a 100644
--- a/fstab.py
+++ b/fstab.py
@@ -522,11 +522,13 @@ class Fstab:
skipList.index(dev)
except ValueError, msg:
(type, sector, size) = table[i]
- if type == _balkan.EXT2:
- label = isys.readExt2Label(dev)
- if label:
- labels[dev] = label
- #print "label for", dev
+
+ # we check the label on all filesystems because mount
+ # does to!
+ label = isys.readExt2Label(dev)
+ if label:
+ labels[dev] = label
+ #print "label for", dev
return labels
def makeFilesystems(self):