Skip to contentSkip to conversation

e4defrag: update man page about -c option

RFC PATCH In review Kazuya Mio 1 participant 1 message Oct 20, 2009

lore
Share & tools
lore

Kazuya Mio

author
#0 lore raw

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.

---

 e4defrag.8.in |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
misc/e4defrag.8.in +9 -5
index 3ba8570..75e1bc9 100644
@@ -35,16 +35,20 @@ point.
 .SH OPTIONS
 .TP
 .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
 to
 .IR target .
 When used with
 .B \-v
-option, the fragmentation count before and after defrag is printed for each
-file.
+option, the current fragmentation count and the ideal fragmentation count are
+printed for each file.
+.IP
+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).
 .IP
 If this option is specified,
 .I target