diff options
author | Erik Troan <ewt@redhat.com> | 2000-08-05 18:54:18 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-08-05 18:54:18 +0000 |
commit | 70829399b9e87fd79a544e865a0f355ea018dfd7 (patch) | |
tree | d366d37664e9b8b642ad56bd2fc7d15cf431c273 /fstab.py | |
parent | 0fcca6c8ca3dc4981c8dcfb3fb7b790b0b63ce76 (diff) | |
download | anaconda-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.py | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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): |