diff options
author | Erik Troan <ewt@redhat.com> | 2000-08-10 14:49:18 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-08-10 14:49:18 +0000 |
commit | 53dd236f0060e2644e106797a91db4f0f206188e (patch) | |
tree | f2ffcabd959ee58ec6d11958b17f6942e5b903bb /fstab.py | |
parent | 58d55d42d4b01fe0e1093d12e76b9511f371c80e (diff) | |
download | anaconda-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.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() |