mkdisk.sh: actually running out of space? we really need our own FAT builder

This commit is contained in:
K. Lange 2018-12-05 21:26:41 +09:00
parent bac479e309
commit 90aa039ef8

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 16 ]; then
SIZE=16
if [ $SIZE -lt 24 ]; then
SIZE=24
fi
# Use more sectors-per-cluster for larger disk sizes