svn commit: r214613 - head/usr.bin/locate/locate

Garrett Wollman wollman at bimajority.org
Mon Nov 1 02:15:31 UTC 2010


<<On Mon, 1 Nov 2010 01:51:47 +0000 (UTC), Garrett Wollman <wollman at FreeBSD.org> said:

>   jilles@ pointed out that using ${PRUNEDIRS:=".zfs"} in updatedb.sh
>   made it impossible to override PRUNEDIRS to make it empty.  Use the
>   non-colon form to only set PRUNEDIRS if it is completely unset.  (For
>   parallelism, the other configuration defaults here could be done the
>   same way, but that could be more obviously accomplished by disabling
>   updatedb in periodic.conf, so leave them alone for now.)

With this change, you can now make the locate database once again
include all of your mounted ZFS snapshots by setting PRUNEDIRS="" in
your /etc/locate.rc.

-GAWollman


More information about the svn-src-head mailing list