Date: Fri, 4 Jun 2004 10:11:07 +0100 From: David Malone <dwmalone@maths.tcd.ie> To: Richard Caley <rjc@interactive.co.uk> Cc: freebsd-stable@freebsd.org Subject: Re: Find / cd mount bug? Message-ID: <20040604091107.GA99100@walton.maths.tcd.ie> In-Reply-To: <200406040806.i5486UYG081359@pele.r.caley.org.uk> References: <200406040806.i5486UYG081359@pele.r.caley.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040604091107.GA99100>
