From owner-freebsd-questions Mon Feb 4 15:10:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id 9A7E537B429 for ; Mon, 4 Feb 2002 15:10:27 -0800 (PST) Received: from barbish ([63.70.155.54]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Mon, 4 Feb 2002 18:13:16 -0500 From: "Joe & Fhe Barbish" To: "mpd" Cc: "FBSD" Subject: RE: Locate command Date: Mon, 4 Feb 2002 18:09:30 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020204170456.A97655@rochester.rr.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 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