Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 1996 10:32:11 +0200 (IST)
From:      Nadav Eiron <nadav@barcode.co.il>
To:        Sergios <sergios@hol.gr>
Cc:        questions@freebsd.org
Subject:   Re: find etc/
Message-ID:  <Pine.BSF.3.91.961014102819.298A-100000@gatekeeper.barcode.co.il>
In-Reply-To: <2.2.32.19961013210810.009b891c@prometheus.hol.gr>

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 13 Oct 1996, Sergios wrote:

> while we are at "find" can somebody explain me why a find . -name
> "something" takes so long and if there is a way I can speed things up.....3
> minutes to find all "somestring" from / and this on a eide system with 64Mb
> memory......a filesystem total of 1.2G ....
> 
> ------------------------------------------------------------------------

It takes that long because it works really hard. First, saying "a 
filesystem" would be inaccurate. Using find from / will search through 
*all* your file systems (including, for example, /tmp, any NFS 
filesystems you might have mounted, a cdrom if it's mounted, etc.).

generally, if you want it to work faster, be more specific. For example, 
starting from /usr will make it faster, and will usually get all the 
files you want.

Nadav



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