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>
This commit is contained in:
John A. Leuenhagen via Linux-f2fs-devel 2020-12-17 02:57:44 -05:00 committed by Jaegeuk Kim
parent e05afe5dfa
commit 2b2641794f

View File

@ -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.