how can I tell if a directory is using dir_index?

Johann Lombardi johann.lombardi at
Fri Aug 18 08:13:39 UTC 2006

On Thu, Aug 17, 2006 at 11:27:26PM +0200, Norbert Kiesel wrote:
> Yes, debugfs htree works: it says "htree: Not a hash-indexed directory"
> for directories that are not indexed.  Still kind of cumbersome as it
> only tests a directory at a time.

FYI, you can list file attributes with lsattr. The 'I' attribute is set when the
directory is indexed.
See man chattr/lsattr for more information.


More information about the Ext3-users mailing list