Re: stat very inefficient

From: Paul Jackson
Date: Wed Jul 28 2004 - 21:27:23 EST


> Check your strace output to see whether your system is recent enough.

The latest findutils package I can find is version 4.1.20, and its most
recent ChangeLog entry is dated 2001-06-09.

It doesn't have this feature of find not stat'ing the regular files, but
using dirent d_type instead.

I also found a March 2004 thread presenting a patch to use d_type, at:

http://lists.gnu.org/archive/html/bug-findutils/2004-03/msg00004.html

But the thread seemed to end inconclusively, after just a few messages
discussing various alternative implementations of some stuff.

Ulrich - could you provide a clue where to find a find that does what
you describe?

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/