diff options
author | Erik Troan <ewt@redhat.com> | 2000-07-24 22:15:26 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-07-24 22:15:26 +0000 |
commit | 7cda2db26e8bef9470c66704b90975abd0e38e9f (patch) | |
tree | fecb6d91004f4bbd80f9c7b2947994735a807bf5 /isys/isys.py | |
parent | 2442cb59a00b76bb20529b58b2ab88fd60e3f47e (diff) | |
download | anaconda-7cda2db26e8bef9470c66704b90975abd0e38e9f.tar.gz anaconda-7cda2db26e8bef9470c66704b90975abd0e38e9f.tar.xz anaconda-7cda2db26e8bef9470c66704b90975abd0e38e9f.zip |
added fsSpaceAvailable()
Diffstat (limited to 'isys/isys.py')
-rw-r--r-- | isys/isys.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/isys/isys.py b/isys/isys.py index 248eac99a..6fea574af 100644 --- a/isys/isys.py +++ b/isys/isys.py @@ -12,6 +12,9 @@ def spaceAvailable(device, fsystem = "ext2"): umount("/mnt/space") return space +def fsSpaceAvailable(fsystem): + return _isys.devSpaceFree(fsystem) + def raidstop(mdDevice): makeDevInode(mdDevice, "/tmp/md") fd = os.open("/tmp/md", os.O_RDONLY) |