From owner-freebsd-stable@FreeBSD.ORG Fri Jun 4 02:11:20 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDF7216A4CE; Fri, 4 Jun 2004 02:11:20 -0700 (PDT) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 10CF443D41; Fri, 4 Jun 2004 02:11:20 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 4 Jun 2004 10:11:07 +0100 (BST) Date: Fri, 4 Jun 2004 10:11:07 +0100 From: David Malone To: Richard Caley Message-ID: <20040604091107.GA99100@walton.maths.tcd.ie> References: <200406040806.i5486UYG081359@pele.r.caley.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406040806.i5486UYG081359@pele.r.caley.org.uk> User-Agent: Mutt/1.5.3i Sender: dwmalone@maths.tcd.ie cc: peadar@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: Find / cd mount bug? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 09:11:21 -0000 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.