aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn A. Leuenhagen via Linux-f2fs-devel <linux-f2fs-devel@lists.sourceforge.net>2020-12-17 02:57:44 -0500
committerJaegeuk Kim <jaegeuk@kernel.org>2020-12-23 11:32:32 -0800
commit2b2641794f42dc8e5458c129ab72c17cd8f8600b (patch)
treebe4173fc74f3ff2f5b5ac8f2057c21b9514e576f
parente05afe5dfaf0e29f7a7c035519053939d52d0e6d (diff)
downloadf2fs-tools-2b2641794f42dc8e5458c129ab72c17cd8f8600b.tar.gz
mkfs.f2fs.8: Better document the -g argument.
To use Android defaults, you must use `-g android`. However, the man page previously implied that you need only use `-g`. Since you must specify `android`, I figured it would be appropriate to name that field `default-options` in the man page. If there was ever a reason to have a different set of default options, the `-g` option could be used with a new `default-options` value, i.e. `-g example`. Signed-off-by: John A. Leuenhagen <john@zlima12.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--man/mkfs.f2fs.811
1 files changed, 9 insertions, 2 deletions
diff --git a/man/mkfs.f2fs.8 b/man/mkfs.f2fs.8
index 8c57216..15e0bd9 100644
--- a/man/mkfs.f2fs.8
+++ b/man/mkfs.f2fs.8
@@ -32,6 +32,7 @@ mkfs.f2fs \- create an F2FS file system
]
[
.B \-g
+.I default-options
]
[
.B \-i
@@ -136,8 +137,14 @@ Force overwrite when an existing filesystem is detected on the device.
By default, mkfs.f2fs will not write to the device if it suspects that
there is a filesystem or partition table on the device already.
.TP
-.BI \-g
-Add default Android options.
+.BI \-g " default-options"
+Use a default set of options.
+The following values are supported:
+.RS 1.2i
+.TP 1.2i
+.B android
+Use default options for Android.
+.RE
.TP
.BI \-i
Enable extended node bitmap.