summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-10-03 22:01:57 +0000
committerErik Troan <ewt@redhat.com>2000-10-03 22:01:57 +0000
commit6ad2678aee7288b8c56d41571b6267f07cd1102e (patch)
treef496ea75f2f48b54389a24fbb4eb15609a6cef4a /fstab.py
parentdddf4fa32aa99232e1c8c0b7cf48eaea653048ec (diff)
downloadanaconda-6ad2678aee7288b8c56d41571b6267f07cd1102e.tar.gz
anaconda-6ad2678aee7288b8c56d41571b6267f07cd1102e.tar.xz
anaconda-6ad2678aee7288b8c56d41571b6267f07cd1102e.zip
merged in fix for checking for free space only on ext2 filesystems
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fstab.py b/fstab.py
index 343e7c924..0e56301da 100644
--- a/fstab.py
+++ b/fstab.py
@@ -256,7 +256,8 @@ class Fstab:
def filesystemSpace(self, topMount):
space = []
for (mntpoint, partition, fsystem, doFormat, size) in self.mountList():
- space.append((mntpoint, isys.fsSpaceAvailable(topMount + '/' + mntpoint)))
+ if fsystem == 'ext2':
+ space.append((mntpoint, isys.fsSpaceAvailable(topMount + '/' + mntpoint)))
space.sort(self.spaceSort)
return space