make mkfs make filesystems with default block size the maximum, instead
of 8K
This commit is contained in:
parent
3b5ae428de
commit
d6a5662adb
@ -196,7 +196,7 @@ char *argv[];
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(fs_version == 3) {
|
if(fs_version == 3) {
|
||||||
if(!block_size) block_size = 8192; /* V3 default block size */
|
if(!block_size) block_size = MAX_BLOCK_SIZE; /* V3 default block size */
|
||||||
if(block_size%SECTOR_SIZE || block_size < MIN_BLOCK_SIZE) {
|
if(block_size%SECTOR_SIZE || block_size < MIN_BLOCK_SIZE) {
|
||||||
fprintf(stderr, "block size must be multiple of sector (%d) "
|
fprintf(stderr, "block size must be multiple of sector (%d) "
|
||||||
"and at least %d bytes\n",
|
"and at least %d bytes\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user