cvs commit: src/usr.bin/locate/locate updatedb.sh
Alexey Dokuchaev
danfe at FreeBSD.org
Wed Oct 17 05:51:40 PDT 2007
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
More information about the cvs-src
mailing list