summaryrefslogtreecommitdiffstats
path: root/fstab.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-08-10 14:49:18 +0000
committerErik Troan <ewt@redhat.com>2000-08-10 14:49:18 +0000
commit53dd236f0060e2644e106797a91db4f0f206188e (patch)
treef2ffcabd959ee58ec6d11958b17f6942e5b903bb /fstab.py
parent58d55d42d4b01fe0e1093d12e76b9511f371c80e (diff)
downloadanaconda-53dd236f0060e2644e106797a91db4f0f206188e.tar.gz
anaconda-53dd236f0060e2644e106797a91db4f0f206188e.tar.xz
anaconda-53dd236f0060e2644e106797a91db4f0f206188e.zip
insert topmountdir into path when checking free space
Diffstat (limited to 'fstab.py')
-rw-r--r--fstab.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fstab.py b/fstab.py
index b48bc310a..5e4746c6c 100644
--- a/fstab.py
+++ b/fstab.py
@@ -241,10 +241,10 @@ class Fstab:
raise TypeError, "unknown partition to format %s" % (device,)
# sorted largest to smallest
- def filesystemSpace(self):
+ def filesystemSpace(self, topMount):
space = {}
for (mntpoint, partition, fsystem, doFormat, size) in self.mountList():
- space[mntpoint] = isys.fsSpaceAvailable(mntpoint)
+ space[mntpoint] = isys.fsSpaceAvailable(topMount + '/' + mntpoint)
list = space.keys()
list.sort()