mkdisk: FAT overhead is too high again... overestimate more
This commit is contained in:
parent
b3f6728339
commit
2bce2aa40e
@ -9,7 +9,7 @@ OUTDIR=`dirname $1`
|
|||||||
|
|
||||||
# Calculate required space
|
# Calculate required space
|
||||||
SPACE_REQ=$(du -sb "$DIR/../fatbase" | cut -f 1)
|
SPACE_REQ=$(du -sb "$DIR/../fatbase" | cut -f 1)
|
||||||
let "SIZE = ($SPACE_REQ / 1000000)"
|
let "SIZE = ($SPACE_REQ / 950000)"
|
||||||
|
|
||||||
# Minimum size
|
# Minimum size
|
||||||
if [ $SIZE -lt 14 ]; then
|
if [ $SIZE -lt 14 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user