summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall4
1 files changed, 4 insertions, 0 deletions
diff --git a/install b/install
index 5c79d82..0ab6d2f 100755
--- a/install
+++ b/install
@@ -211,6 +211,10 @@ Whould you like to continue?''',
if not welcome:
raise Abort('Installation canceled')
+def get_memory_size():
+ return os.sysconf("SC_PHYS_PAGES") * os.sysconf("SC_PAGE_SIZE")
+
+
def get_zpool_slice(pool_name):
result = []
''' Returns slices/disks (e. g. c0t4d0s0) on which zpool exists '''