summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
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