Subject: Re: Let "locate" search/index network volumes, too?
To: ITOH Yasufumi <itohy@NetBSD.org>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-userlevel
Date: 02/03/2004 06:26:28
On Tue, 3 Feb 2004, ITOH Yasufumi wrote:
> fredb@immanent.net writes:
> > Below are my patches to make the locate database construction
> > configurable in "/etc/weekly.conf". I use this to index the files of
> > the nfs server on the faster workstation, where I'm normally logged
> > in. The settings look like this:
> >
> > rebuild_locatedb=YES locatedb_flags="-local +cd9660 +fdesc +kernfs +procfs"
> > # locatedb_flags="-ffs -nfs"
>
> I have similar patch. :)
>
> Mine can configure
> - filesystem types to ignore,
> - search path (base directory),
> - directories to ignore, and
> - temporary directory
> in /etc/locate.conf .
>
> Here're sample /etc/locate.conf and the patch.
> Is this useful for anyone?
Very nice -- way better than mine. "/etc/locate.conf" is a good idea,
too. I look forward to seeing it go into the tree.
Frederick