diff options
Diffstat (limited to 'backend/modules/hdmap')
-rw-r--r-- | backend/modules/hdmap | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/backend/modules/hdmap b/backend/modules/hdmap index ea98dd1..7be2818 100644 --- a/backend/modules/hdmap +++ b/backend/modules/hdmap @@ -30,16 +30,6 @@ function is_disk() return 1 } -# Synopsis: calculate_min_space -# -# This function estimates the minimum space needed for a hdinstall -function calculate_min_space() -{ - ESTIMATED_ROOT_MIN=$(df -m "/live/filesystem" | tail -1 | gawk '{print $3}') - grep -q squashfs /proc/mounts && ESTIMATED_ROOT_MIN=$(($ESTIMATED_ROOT_MIN*270/100)) - export ESTIMATED_ROOT_MIN -} - # Synopsis: handle_mountpoint_demands <device> # # This function handles the demands of the mountpoints (data from function mountpoint_demands) |