mkdisk.sh: smaller divisor for fat size

TODO: Replace mtools/mkfs.fat with our own tool that can create perfectly sized FATs.
This commit is contained in:
K. Lange 2018-11-22 21:54:53 +09:00
parent e538c5aa57
commit e7616e7da2
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ OUTDIR=`dirname $1`
# Calculate required space
SPACE_REQ=$(du -sb "$DIR/../fatbase" | cut -f 1)
let "SIZE = ($SPACE_REQ / 1040000)"
let "SIZE = ($SPACE_REQ / 1000000)"
# Minimum size
if [ $SIZE -lt 24 ]; then