From owner-freebsd-hackers Mon Apr 1 01:55:00 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA13273 for hackers-outgoing; Mon, 1 Apr 1996 01:55:00 -0800 (PST) Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id BAA13150 Mon, 1 Apr 1996 01:54:46 -0800 (PST) Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.17.12]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id LAA08425; Mon, 1 Apr 1996 11:29:50 +0200 From: Wolfram Schneider Received: (from wosch@localhost) by caramba.cs.tu-berlin.de (8.7.2/8.7.2) id LAA00543; Mon, 1 Apr 1996 11:29:49 +0200 (MET DST) Date: Mon, 1 Apr 1996 11:29:49 +0200 (MET DST) Message-Id: <199604010929.LAA00543@caramba.cs.tu-berlin.de> To: Thomas Gellekum Cc: mpp@freefall.freebsd.org (Mike Pritchard), freebsd-hackers@freefall.freebsd.org Subject: Re: locate In-Reply-To: <199604010815.KAA21390@ghpc6.ihf.rwth-aachen.de> References: <199604010600.WAA01868@freefall.freebsd.org> <199604010815.KAA21390@ghpc6.ihf.rwth-aachen.de> Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Thomas Gellekum writes: >Mike Pritchard wrote: >> What do people think of the idea of changing locate & its database >> update script to keep a list of ALL files on the system, and >> not just those that can been seen by the world. > >No, please. If the owner doesn't want to expose his files to the >world, locate should respect this. Agreed. At my university I start the locate service for private home directories with following find options: gfind /home/all \( -name prv -prune \) -or \( -name privat -prune \) -or \( -name private -prune \) -or \( -name Mail -prune \) -or \( -name mail -prune \) -or -print The whole locate database is now 16MB big ;-) >I'd prefer a new option to locate which gives the name of (an) >alternate database(s), so you could run locate for yourself. This >could also be used to locate files on NFS-mounted filesystems. Done (still not in -current). Wolfram