Calling df with -P to avoid line wraps with overly long mountpoints.
[live-boot-grml.git] / scripts / boot / 9990-misc-helpers.sh
index 356fe6d..987a217 100755 (executable)
@@ -591,7 +591,7 @@ fs_size ()
                size=$(expr ${size} + ${size} / 20 ) # FIXME: 5% more to be sure
        else
                # free space
-               size="$(df -k | grep -s ${mountp} | awk '{print $4}')"
+               size="$(df -kP | grep -s ${mountp} | awk '{print $4}')"
        fi
 
        if [ -n "${doumount}" ]