aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2021-01-21 18:26:25 -0500
committerTheodore Ts'o <tytso@mit.edu>2021-01-21 18:26:25 -0500
commit33b0356c353feaef32fdcf300d39d2d2ef08ef1f (patch)
treeaa1a01dd6beccb2ace5be61985ee0d09a4877fed
parent4d108756a4f185a48b366045fcfd0bc01a665bf2 (diff)
downloade2fsprogs-33b0356c353feaef32fdcf300d39d2d2ef08ef1f.tar.gz
mke2fs.8: Improve valid block size documentation
Explain which valid block sizes mke2fs supports in more detail. Reviewed-by: Andreas Dilger <adilger@dilger.ca> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--misc/mke2fs.8.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/mke2fs.8.in b/misc/mke2fs.8.in
index e6bfc6d6f..171315b14 100644
--- a/misc/mke2fs.8.in
+++ b/misc/mke2fs.8.in
@@ -207,12 +207,14 @@ manual page for more details.
.SH OPTIONS
.TP
.BI \-b " block-size"
-Specify the size of blocks in bytes. Valid block-size values are 1024,
-2048 and 4096 bytes per block. If omitted,
-block-size is heuristically determined by the filesystem size and
+Specify the size of blocks in bytes. Valid block-size values are powers of two
+from 1024 up to 65536 (however note that the kernel is able to mount only
+filesystems with block-size smaller or equal to the system page size - 4k on
+x86 systems, upto 64k on ppc64 or aarch64 depending on kernel configuration).
+If omitted, block-size is heuristically determined by the filesystem size and
the expected usage of the filesystem (see the
.B \-T
-option). If
+option). In most common cases, the default block size is 4k. If
.I block-size
is preceded by a negative sign ('-'), then
.B mke2fs