Date: Fri, 13 Nov 2015 06:16:12 +0000 (UTC) From: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290742 - head/usr.bin/locate/locate Message-ID: <201511130616.tAD6GCwf053616@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: des Date: Fri Nov 13 06:16:12 2015 New Revision: 290742 URL: https://svnweb.freebsd.org/changeset/base/290742 Log: There is no more point in indexing /var/db/freebsd-update than there is in indexing /var/db/portsnap, which was already in PRUNEPATHS. MFC after: 1 week Modified: head/usr.bin/locate/locate/locate.rc head/usr.bin/locate/locate/updatedb.sh Modified: head/usr.bin/locate/locate/locate.rc ============================================================================== --- head/usr.bin/locate/locate/locate.rc Fri Nov 13 02:16:08 2015 (r290741) +++ head/usr.bin/locate/locate/locate.rc Fri Nov 13 06:16:12 2015 (r290742) @@ -16,7 +16,7 @@ #SEARCHPATHS="/" # paths unwanted in output -#PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/portsnap" +#PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/portsnap /var/db/freebsd-update" # directories unwanted in output #PRUNEDIRS=".zfs" Modified: head/usr.bin/locate/locate/updatedb.sh ============================================================================== --- head/usr.bin/locate/locate/updatedb.sh Fri Nov 13 02:16:08 2015 (r290741) +++ head/usr.bin/locate/locate/updatedb.sh Fri Nov 13 06:16:12 2015 (r290742) @@ -51,7 +51,7 @@ PATH=$LIBEXECDIR:/bin:/usr/bin:$PATH; ex : ${mklocatedb:=locate.mklocatedb} # make locate database program : ${FCODES:=/var/db/locate.database} # the database : ${SEARCHPATHS="/"} # directories to be put in the database -: ${PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/portsnap"} # unwanted directories +: ${PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/portsnap /var/db/freebsd-update"} # unwanted directories : ${PRUNEDIRS=".zfs"} # unwanted directories, in any parent : ${FILESYSTEMS="$(lsvfs | tail -n +3 | \ egrep -vw "loopback|network|synthetic|read-only|0" | \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511130616.tAD6GCwf053616>