how can I tell if a directory is using dir_index?

Norbert Kiesel nkiesel at tbdnetworks.com
Thu Aug 17 21:27:26 UTC 2006


On Thu, 2006-08-17 at 18:43 +0100, Christian wrote:
> On Thu, August 3, 2006 14:09, Norbert Kiesel wrote:
> > - Is there a way to tell is a given directory is indexed or not?
> 
> I think the "htree_dump" command in debugfs(8) should display dir_index
> information, although I could not find really much documentation, it's
> only mentioned in the manpage.
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.

Best,
  Norbert





More information about the Ext3-users mailing list