projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Calling df with -P to avoid line wraps with overly long mountpoints.
[live-boot-grml.git]
/
scripts
/
boot
/
9990-misc-helpers.sh
diff --git
a/scripts/boot/9990-misc-helpers.sh
b/scripts/boot/9990-misc-helpers.sh
index
356fe6d
..
987a217
100755
(executable)
--- 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 -k
P
| grep -s ${mountp} | awk '{print $4}')"
fi
if [ -n "${doumount}" ]