From owner-freebsd-questions@FreeBSD.ORG Mon Jun 21 10:53:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B26C416A4CE for ; Mon, 21 Jun 2004 10:53:20 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A0A243D55 for ; Mon, 21 Jun 2004 10:53:19 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i5LAr5sN056476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Jun 2004 11:53:05 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i5LAr5Le056475; Mon, 21 Jun 2004 11:53:05 +0100 (BST) (envelope-from matthew) Date: Mon, 21 Jun 2004 11:53:05 +0100 From: Matthew Seaman To: Jon Adams Message-ID: <20040621105305.GA56286@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Jon Adams , freebsd-questions@freebsd.org References: <40D6B77A.9030102@nsu.nova.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <40D6B77A.9030102@nsu.nova.edu> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.4 (smtp.infracaninophile.co.uk [0.0.0.0]); Mon, 21 Jun 2004 11:53:05 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040612, clamav-milter version 0.72a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Slocate? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 10:53:20 -0000 --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 21, 2004 at 06:24:58AM -0400, Jon Adams wrote: > Okay, I am a relative FreeBSD newbie, my main question is.... >=20 > Is there a tool similar to Linux secure locate (slocate) that can be=20 > 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= =20 > 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 --=20 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 --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA1r4RiD657aJF7eIRAu1dAKCxGC46j7YI9zFM+ZLSdasH8mU64wCggFf0 FzwA3xGt+IqFWM27KlaBOME= =sqy4 -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--