Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2002 18:09:30 -0500
From:      "Joe & Fhe Barbish" <barbish@a1poweruser.com>
To:        "mpd" <mpd6334@cs.rit.edu>
Cc:        "FBSD" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Locate command
Message-ID:  <LPBBIGIAAKKEOEJOLEGOAEJJCGAA.barbish@a1poweruser.com>
In-Reply-To: <20020204170456.A97655@rochester.rr.com>

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



-----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




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