From 1e5c6d34e7fb538ab3417bd7cdcc3d3b4d392c2d Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Tue, 1 Jan 2008 00:17:57 -0500 Subject: [PATCH] Expand discussion of the -D option in e2fsck's man page Add an explanation of how e2fsck might decide to optimize a few directories even without the -D option being specified. Addresses-Debian-Bug: #441872 Signed-off-by: "Theodore Ts'o" --- e2fsck/e2fsck.8.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/e2fsck/e2fsck.8.in b/e2fsck/e2fsck.8.in index c1e40c91..849c7ad8 100644 --- a/e2fsck/e2fsck.8.in +++ b/e2fsck/e2fsck.8.in @@ -154,6 +154,19 @@ try to optimize all directories, either by reindexing them if the filesystem supports directory indexing, or by sorting and compressing directories for smaller directories, or for filesystems using traditional linear directories. +.IP +Even without the +.B \-D +option, +.B e2fsck +may sometimes optimize a few directories --- for example, if +directory indexing is enabled and a directory is not indexed and would +benefit from being indexed, or if the index structures are corrupted +and need to be rebuilt. The +.B \-D +option forces all directories in the filesystem to be optimized. This can +sometimes make them a little smaller and slightly faster to search, but +in practice, you should rarely need to use this option. .TP .BI \-E " extended_options" Set e2fsck extended options. Extended options are comma