2009-10-20 08:22:17

by Kazuya Mio

[permalink] [raw]
Subject: [RFC][PATCH v2 4/4] e4defrag: update man page about -c option

Add the description of the size per one extent and the maximum extent size
in ext4 into e4defrag man page.

Signed-off-by: Kazuya Mio <[email protected]>

e4defrag.8.in | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/misc/e4defrag.8.in b/misc/e4defrag.8.in
index 3ba8570..75e1bc9 100644
--- a/misc/e4defrag.8.in
+++ b/misc/e4defrag.8.in
@@ -35,16 +35,20 @@ point.
.B \-c
-Get the fragmentation count and calculate fragmentation score based on it
-before and after defrag. By seeing this score, we can determine whether we
-should execute
+Get a current fragmentation count and an ideal fragmentation count, and
+calculate fragmentation score based on them. By seeing this score, we can
+determine whether we should execute
.B e4defrag
.IR target .
When used with
.B \-v
-option, the fragmentation count before and after defrag is printed for each
+option, the current fragmentation count and the ideal fragmentation count are
+printed for each file.
+Also this option outputs the average data size in one extent. If you see it,
+you'll find the file has ideal extents or not. Note that the maximum extent
+size is 131072KB in ext4 filesystem (if block size is 4KB).
If this option is specified,
.I target