From owner-freebsd-questions Fri Oct 24 01:03:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA01538 for questions-outgoing; Fri, 24 Oct 1997 01:03:42 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from unicorn.uk1.vbc.net (unicorn.uk1.vbc.net [194.207.2.11]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA01531 for ; Fri, 24 Oct 1997 01:03:37 -0700 (PDT) (envelope-from gordon@drogon.net) Received: from localhost (gordon@localhost) by unicorn.uk1.vbc.net (8.8.5/8.8.5) with SMTP id JAA17517; Fri, 24 Oct 1997 09:02:48 +0100 Date: Fri, 24 Oct 1997 09:02:47 +0100 (BST) From: Gordon Henderson X-Sender: gordon@unicorn To: Jonathan Chen cc: Greg Lehey , questions@FreeBSD.ORG Subject: Re: deleted huge directory In-Reply-To: Message-ID: Distribution: world Organization: Home for lost Drogons MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 24 Oct 1997, Jonathan Chen wrote: > On Thu, 23 Oct 1997, Greg Lehey wrote: > > > On Thu, Oct 23, 1997 at 10:01:46AM +0100, Gordon Henderson wrote: > > [snip] > > > Find will try to sort the directory first before printing it - I belive > > > it's the sort that causes the machine to run out of memory. > > > > Yes, this is a good point. > > find(1) doesn't sort the output (if all you're doing is -print), the > order of it's output is effectively the same as 'ls -f'. Indeed! When I did a quick check yesterday, I was running it on one of my own control/cancel directorys which is already sorted by the fact that the filenames are entirely numeric and created in ascending order! Gordon