From owner-cvs-all@FreeBSD.ORG Wed Oct 17 12:51:40 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 7131D16A41B; Wed, 17 Oct 2007 12:51:40 +0000 (UTC) Date: Wed, 17 Oct 2007 12:51:40 +0000 From: Alexey Dokuchaev To: Stefan Esser Message-ID: <20071017125140.GA464@FreeBSD.org> References: <200710152209.l9FM9Jv3017150@repoman.freebsd.org> <20071016102013.GE23043@submonkey.net> <4714F06B.7070702@FreeBSD.org> <20071017103509.GA71990@FreeBSD.org> <4715F353.1070703@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4715F353.1070703@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@FreeBSD.org, Ceri Davies , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/locate/locate updatedb.sh X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 12:51:40 -0000 Circa Oct 17 2007, Stefan Esser wrote: > Yes, I considered this. In fact, if there is consensus that FAT should > be excluded, I'd add another category to the configuration parameters > of the locate.updatedb script. Currently there is: > > $SEARCHPATHS (start points for the directory scan) > $PRUNEPATHS (sub-trees to exclude from scanning) > > $FILESYSTEMS (file system types to include) > > and we could add: > > $PRUNEFS (file system types to exclude) > > with the latter overriding $FILESYSTEMS ... > > As you may know, the new default for $FILESYSTEMS is all local, > non-synthetic, non-loopback, principally writable file system types > (which include msdosfs). The $PRUNEFS could be used to drop a few > that could be scanned, but where it is still not desirable. Sounds pretty flexible to me. While adding new config knobs is generally a thing to avoid, in this case they seem pretty orthogonal to each other. ./danfe