Find / cd mount bug?
David Malone
dwmalone at maths.tcd.ie
Fri Jun 4 09:11:21 GMT 2004
On Fri, Jun 04, 2004 at 09:06:30AM +0100, Richard Caley wrote:
> Ie adding an extra restriction increases the number of results. The
> first one isn't giving an error at the point where it stops.
I think find uses an optimisation to determine if a directory has
subdirectories by checking the link count. This works on UFS but
not on some other file systems, so you could somehow be tripping
up on this (if find has to stat all the files it will definitely
know if there are subdirectories). I think this has been fixed
in -current.
David.
More information about the freebsd-stable
mailing list