diff options
| author | Daniel Baumann <daniel@debian.org> | 2013-01-23 23:02:29 +0100 |
|---|---|---|
| committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 13:54:14 +0200 |
| commit | 866ab983856d14da240d80dc9091ee422c59937b (patch) | |
| tree | 676e8b9e4f732d016b0ec800682b5b6c626b873e /scripts | |
| parent | f4aadb9d7cd810a18157c78594adf6fa82e3b6f6 (diff) | |
| download | live-boot-866ab983856d14da240d80dc9091ee422c59937b.tar.gz live-boot-866ab983856d14da240d80dc9091ee422c59937b.zip | |
Calling df with -P to avoid line wraps with overly long mountpoints.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/boot/9990-misc-helpers.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/boot/9990-misc-helpers.sh b/scripts/boot/9990-misc-helpers.sh index 356fe6d..987a217 100755 --- a/scripts/boot/9990-misc-helpers.sh +++ b/scripts/boot/9990-misc-helpers.sh @@ -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}" ] |
