On Tue, Sep 11, 2007 at 04:59:53PM +0100, Steve McIntyre wrote:
> Package: e2fsprogs
> Version: 1.39+1.40-WIP-2006.11.14+dfsg-2
> Severity: normal
> Tags: upstream
> 
> This is clearly an upstream bug - a recent Fedora installation shows
> exactly the same behaviour.
> 
> If the underlying filesystem has the dir_index flag, e2fsck will
> always re-optimize directories, whether the -D option is passed on the
> command line or not.

Err, no.  E2fsck will re-optimize an individual directory if it is
corrupted.  If you specify the -D option, it will optimize *all*
directories.   

For example:

<[EMAIL PROTECTED]> {/usr/projects/e2fsprogs}, level 2  
502# e2fsck -f /dev/sdb1
e2fsck 1.40.1 (08-Jul-2007)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
boot: 62/122624 files (21.0% non-contiguous), 82110/244983 blocks
<[EMAIL PROTECTED]> {/usr/projects/e2fsprogs}, level 2  
503# e2fsck -fD /dev/sdb1
e2fsck 1.40.1 (08-Jul-2007)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimising directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information

boot: ***** FILE SYSTEM WAS MODIFIED *****
boot: 62/122624 files (21.0% non-contiguous), 82110/244983 blocks

If you have a filesystem where you are seeing something else, you're
going to have to send me an compressed raw e2image file (see the
"REPORTING BUGS" section of e2fsck).

                                                - Ted



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to