aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2023-11-30 17:46:09 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2023-12-08 10:12:32 -0800
commitbf5100606d63f6928799846b7322aa6f3f158bcf (patch)
tree73d4068e548cf073a55fd91e9598d7fd54373e5c
parent1cbaa9069ecbf5595e757d6002cc5ac5aae09e36 (diff)
downloadf2fs-tools-bf5100606d63f6928799846b7322aa6f3f158bcf.tar.gz
man: Add description for mkfs -b option
Describes the block size option -b. This sets the block size, which is restricted to powers of 2. The linux kernel currently requires that the block size be equal to the page size to mount. Signed-off-by: Daniel Rosenberg <drosen@google.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--man/mkfs.f2fs.86
1 files changed, 6 insertions, 0 deletions
diff --git a/man/mkfs.f2fs.8 b/man/mkfs.f2fs.8
index 474c401..6670003 100644
--- a/man/mkfs.f2fs.8
+++ b/man/mkfs.f2fs.8
@@ -116,6 +116,12 @@ If the value is equal to 1, each of active log areas are initially
assigned separately according to the whole volume size.
The default value is 1.
.TP
+.BI \-b " block size"
+Specify the block size in bytes. Valid blocksizes are powers of 2.
+Currently, the kernel is only able to mount f2fs filesystems where the
+block size matches the page size.
+The default value is 4096.
+.TP
.BI \-c " device-list"
Build f2fs with these additional comma separated devices, so that the user can
see all the devices as one big volume.