Slocate?

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Jun 21 03:53:20 PDT 2004


On Mon, Jun 21, 2004 at 06:24:58AM -0400, Jon Adams wrote:
> Okay, I am a relative FreeBSD newbie, my main question is....
> 
> Is there a tool similar to Linux secure locate (slocate) that can be 
> used on FreeBSD. I dont want to do a complicated find with
> 50 million options to find a file.  I downloaded the slocate-2.7 source 
> and I get a weird makefile error I have never seen before.

locate(1) comes with the system.  By default the locate database gets
updated weekly by the /etc/periodic/weekly/310.locate script -- this
script builds the database using the 'nobody' UID, so generally files
that are not world readable will not be included.  If I remember
correctly, that's about the same as what slocate does to build it's
database of files (and what earns it that 's' title...)

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040621/bd37de07/attachment.bin


More information about the freebsd-questions mailing list