diff options
-rwxr-xr-x | install | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 ''' |