mkdisk: FAT overhead is too high again... overestimate more

This commit is contained in:
K. Lange 2022-02-25 21:36:21 +09:00
parent b3f6728339
commit 2bce2aa40e

View File

@ -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