diff options
Diffstat (limited to 'scripts/common.sh.in')
-rw-r--r-- | scripts/common.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/common.sh.in b/scripts/common.sh.in index 71a6b18a0..0e792dbdc 100644 --- a/scripts/common.sh.in +++ b/scripts/common.sh.in @@ -342,7 +342,9 @@ format() { local DEVICE=$1 local FSTYPE=$2 - /sbin/mkfs.${FSTYPE} -q ${DEVICE} || return 1 + # Force 4K blocksize, else mkfs.ext2 tries to use 8K, which + # won't mount + /sbin/mkfs.${FSTYPE} -b 4096 -F -q ${DEVICE} || return 1 return 0 } |