mkfs.f2fs.8: Better document the -g argument.
PATCH 1/1 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.
--- man/mkfs.f2fs.8 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
man/mkfs.f2fs.8 +9 -2
@@ -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.
Signature · 8 lines
2.26.2 _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
Jaegeuk Kim
AppliedQuoted 7 lines · On 12/17, John A. Leuenhagen via Linux-f2fs-devel wrote:
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 fielddefault-optionsin the man page. If there was ever a reason to have a different set of default options, the-goption could be used with a newdefault-optionsvalue, i.e.-g example.
Applied, thanks~
Quoted 44 lines
Signed-off-by John A. Leuenhagen <[email protected]>--- man/mkfs.f2fs.8 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)man/mkfs.f2fs.8 +9
-2@@ -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.Signature · 8 lines
2.26.2 _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel