Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Oct 2010 21:54:10 -0400
From:      Garrett Wollman <wollman@bimajority.org>
To:        src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org
Subject:   Re: svn commit: r214613 - head/usr.bin/locate/locate
Message-ID:  <19662.7618.600259.973098@hergotha.csail.mit.edu>
In-Reply-To: <201011010151.oA11plGq019760@svn.freebsd.org>
References:  <201011010151.oA11plGq019760@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 1 Nov 2010 01:51:47 +0000 (UTC), Garrett Wollman <wollman@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19662.7618.600259.973098>