projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f4aadb9
)
Calling df with -P to avoid line wraps with overly long mountpoints.
author
Daniel Baumann
<daniel@debian.org>
Wed, 23 Jan 2013 22:02:29 +0000
(23:02 +0100)
committer
Daniel Baumann
<mail@daniel-baumann.ch>
Mon, 6 May 2013 11:54:14 +0000
(13:54 +0200)
scripts/boot/9990-misc-helpers.sh
patch
|
blob
|
history
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}" ]