From owner-freebsd-questions Mon Feb 4 15:32:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from roc-66-66-72-6.rochester.rr.com (roc-66-66-72-6.rochester.rr.com [66.66.72.6]) by hub.freebsd.org (Postfix) with ESMTP id 9E2F337B425 for ; Mon, 4 Feb 2002 15:32:36 -0800 (PST) Received: by roc-66-66-72-6.rochester.rr.com (Postfix, from userid 1000) id 86695901A4E; Mon, 4 Feb 2002 18:32:30 -0500 (EST) Date: Mon, 4 Feb 2002 18:32:30 -0500 From: mpd To: Joe & Fhe Barbish Cc: questions@freebsd.org Subject: Re: Locate command Message-ID: <20020204183230.A99766@rochester.rr.com> References: <20020204170456.A97655@rochester.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from barbish@a1poweruser.com on Mon, Feb 04, 2002 at 06:09:30PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Feb 04, 2002 at 06:09:30PM -0500, Joe & Fhe Barbish wrote: > I edited the /etc/locate.rc file and uncommented the two > statements you pointed out. > Rebuilt locate DB using sh /etc/periodic/weekly/310.locate > It still did not pick up the non public files such as > /usr/local/frontpage/version5.0/apache-fp/_vti_bin/fpexe, > locate finds fpexe.c but not fpexe. > > If the locate does not load all files on the FBSD slice into > the locate database is there some other command which will > tell me where all copies of a file are located? locate will do it. There must be some other problem. mike > > > > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of mpd > Sent: Monday, February 04, 2002 5:05 PM > To: Joe & Fhe Barbish > Cc: questions@freebsd.org > Subject: Re: Locate command > > On Mon, Feb 04, 2002 at 04:50:13PM -0500, Joe & Fhe Barbish wrote: > > The man page says the locate command will display the > > path to any public file after building the locate database. > > Is there a way to expand the locate database build to > > include all files, just not the public ones? > > > > In /etc/locate.rc: > SEARCHPATHS="/" > PRUNEPATHS="" > > Note this will make private files in home directories > seeable in locate output by any user. > > mike > -- > ___________________________________________________________ > > "MAY I GROW 3000 PLANTS??? > - Little Girl from "3005 PLANTS" > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- ___________________________________________________________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message