diff mbox series

[f2fs-dev] man: Add description for mkfs -b option

Message ID 20231202005714.3722264-1-drosen@google.com (mailing list archive)
State New
Headers show
Series [f2fs-dev] man: Add description for mkfs -b option | expand

Commit Message

Daniel Rosenberg Dec. 2, 2023, 12:57 a.m. UTC
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.

Change-Id: I27ec4f909f8d27327b48373f0a4a4e8593626804
Signed-off-by: Daniel Rosenberg <drosen@google.com>
---
 man/mkfs.f2fs.8 | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

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.