Why is find so slow (Re: Why use find?)

Kim Christian Madsen kimcm at diku.dk
Mon Oct 22 05:20:28 AEST 1990


dattier at ddsw1.MCS.COM (David W. Tamkin) writes:

=>I think the idea is that after find does stat() the file and sees that it is
=>a directory with only two links, it shouldn't bother stat()ting the entries
=>in that directory because none of them will be subdirectories.  There will
=>be only one more level to descend.

If some nasty user hasn't removed one of the "." and/or ".." entry and
created directories to replace them.


Kim Chr. Madsen



More information about the Comp.unix.shell mailing list