summaryrefslogtreecommitdiffstats
path: root/isys/isys.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-01-12 19:14:09 +0000
committerErik Troan <ewt@redhat.com>2001-01-12 19:14:09 +0000
commit311b94823a85c1a7b09b60a9f6259372256ea66b (patch)
tree1ad77c97cf83fe54a4566b11b96afe6f4b5e0076 /isys/isys.py
parent46963f51b4b262b64d1a310ee2c397e447331706 (diff)
downloadanaconda-311b94823a85c1a7b09b60a9f6259372256ea66b.tar.gz
anaconda-311b94823a85c1a7b09b60a9f6259372256ea66b.tar.xz
anaconda-311b94823a85c1a7b09b60a9f6259372256ea66b.zip
provide symbolic names for ram thresholds
Diffstat (limited to 'isys/isys.py')
-rw-r--r--isys/isys.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/isys/isys.py b/isys/isys.py
index a7956825f..5aa14bdf4 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -6,6 +6,10 @@ import os.path
mountCount = {}
+MIN_RAM = _isys.MIN_RAM
+MIN_GUI_RAM = _isys.MIN_GUI_RAM
+EARLY_SWAP_RAM = _isys.EARLY_SWAP_RAM
+
def spaceAvailable(device, fsystem = "ext2"):
mount(device, "/mnt/space", fstype = fsystem)
space = _isys.devSpaceFree("/mnt/space/.")