From 19ee123659d0df348287019a15cef64bac2af295 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 23 Jan 2013 23:02:29 +0100 Subject: Calling df with -P to avoid line wraps with overly long mountpoints. --- scripts/boot/9990-misc-helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/boot') diff --git a/scripts/boot/9990-misc-helpers.sh b/scripts/boot/9990-misc-helpers.sh index 71ba7e1..807d787 100755 --- a/scripts/boot/9990-misc-helpers.sh +++ b/scripts/boot/9990-misc-helpers.sh @@ -600,7 +600,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}" ] -- cgit v1.2.3