make mkfs make filesystems with default block size the maximum, instead

of 8K
This commit is contained in:
Ben Gras 2005-08-24 12:59:51 +00:00
parent 3b5ae428de
commit d6a5662adb

View File

@ -196,7 +196,7 @@ char *argv[];
}
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) {
fprintf(stderr, "block size must be multiple of sector (%d) "
"and at least %d bytes\n",