mkdisk.sh: we can go as low as 16MB

This commit is contained in:
K. Lange 2018-12-05 18:51:26 +09:00
parent 6f33b2ff97
commit 1d47c09ced

View File

@ -12,8 +12,8 @@ SPACE_REQ=$(du -sb "$DIR/../fatbase" | cut -f 1)
let "SIZE = ($SPACE_REQ / 1000000)"
# Minimum size
if [ $SIZE -lt 24 ]; then
SIZE=24
if [ $SIZE -lt 16 ]; then
SIZE=16
fi
# Use more sectors-per-cluster for larger disk sizes