2011-12-22 08:31:51

by Akira Fujita

[permalink] [raw]
Subject: [PATCH 2/2] e2fsprogs: add the description to mke2fs manual

This patch adds the description that the -S option
and the uninti_bg feature are not set simultaneously
to mke2fs manual.

Signed-off-by: Akira Fujita <[email protected]>
---
misc/mke2fs.8.in | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/misc/mke2fs.8.in b/misc/mke2fs.8.in
index 8e78249..26d731b 100644
--- a/misc/mke2fs.8.in
+++ b/misc/mke2fs.8.in
@@ -601,6 +601,15 @@ program should be run immediately after this option is used, and there
is no guarantee that any data will be salvageable. It is critical to
specify the correct filesystem blocksize when using this option,
or there is no chance of recovery.
+
+Note that the -S option and the uninit_bg feature
+can not be set simultaneously. If we run the -S option to ext4,
+unset the uninit_bg feature explicitly.
+After that, we must set the uninit_bg feature with
+.B tune2fs
+and run
+.B e2fsck
+to enable it.
.\" .TP
.\" .BI \-t " test"
.\" Check the device for bad blocks before creating the file system