Date: Wed, 17 Oct 2007 13:34:43 +0200 From: Stefan Esser <se@FreeBSD.org> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: cvs-src@FreeBSD.org, Ceri Davies <ceri@submonkey.net>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/locate/locate updatedb.sh Message-ID: <4715F353.1070703@FreeBSD.org> In-Reply-To: <20071017103509.GA71990@FreeBSD.org> References: <200710152209.l9FM9Jv3017150@repoman.freebsd.org> <20071016102013.GE23043@submonkey.net> <4714F06B.7070702@FreeBSD.org> <20071017103509.GA71990@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexey Dokuchaev wrote: > On Tue, Oct 16, 2007 at 07:10:03PM +0200, Stefan Esser wrote: >> The second possibility is to extend the list in the update script. It >> needs to contain at least: >> >> ufs ext2fs zfs >> >> and probably also: >> >> xfs msdosfs ntfs ntfs-3g (?) > > It might be a good idea to drop msdosfs off of this list. Real physical > filesystems in Windoze world are typically NTFS now, and FAT is used > mainly in removable storage. 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. Regards, STefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4715F353.1070703>