Didn't see this one on the FAQ.

Now that I have millions of small files on my reiserfs partition, I'd
like to know if there is reiserfs specific way to count them very
quickly.

While "find $DIR | wc -l" works and is quite accurate, it can take an
enormously long time. While "df" and dividing by a guesstimate of
the average file size is fast, I wonder if there is a way to do
better. Is there a prgram that can take advantage of reiserfs
specific metadata and quickly compute an approximate file count?
Especially if the directory tree structure is very shallow?

Cheers,
Jeff

Reply via email to