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:
parent
e538c5aa57
commit
e7616e7da2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue