Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 1997 09:02:47 +0100 (BST)
From:      Gordon Henderson <gordon@drogon.net>
To:        Jonathan Chen <jonc@pinnacle.co.nz>
Cc:        Greg Lehey <grog@lemis.com>, questions@FreeBSD.ORG
Subject:   Re: deleted huge directory
Message-ID:  <Pine.LNX.3.95.971024090029.17490A-100000@unicorn>
In-Reply-To: <Pine.SGI.3.96.971024085905.6601A-100000@tui.pinnacle.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.971024090029.17490A-100000>