git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Linux 3.6 compat, sget()
[zfs.git]
/
scripts
/
common.sh.in
diff --git
a/scripts/common.sh.in
b/scripts/common.sh.in
index
71a6b18
..
0e792db
100644
(file)
--- 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
}