Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2002 18:32:30 -0500
From:      mpd <mpd6334@cs.rit.edu>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        questions@freebsd.org
Subject:   Re: Locate command
Message-ID:  <20020204183230.A99766@rochester.rr.com>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOAEJJCGAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Mon, Feb 04, 2002 at 06:09:30PM -0500
References:  <20020204170456.A97655@rochester.rr.com> <LPBBIGIAAKKEOEJOLEGOAEJJCGAA.barbish@a1poweruser.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020204183230.A99766>