]> Zhao Yanbai Git Server - minix.git/commitdiff
make mkfs make filesystems with default block size the maximum, instead
authorBen Gras <ben@minix3.org>
Wed, 24 Aug 2005 12:59:51 +0000 (12:59 +0000)
committerBen Gras <ben@minix3.org>
Wed, 24 Aug 2005 12:59:51 +0000 (12:59 +0000)
of 8K

commands/simple/mkfs.c

index 1db8bf521894e39a61de23426e1a22e865627ffe..b6ad4197783a5922d551f99da08547a9ad4932a6 100755 (executable)
@@ -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",