Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2016 08:44:01 +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-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r294779 - stable/10/usr.bin/locate/locate
Message-ID:  <201601260844.u0Q8i1Pn044009@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Tue Jan 26 08:44:01 2016
New Revision: 294779
URL: https://svnweb.freebsd.org/changeset/base/294779

Log:
  MFH (r290742): don't index /var/db/freebsd-update

Modified:
  stable/10/usr.bin/locate/locate/locate.rc
  stable/10/usr.bin/locate/locate/updatedb.sh
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.bin/locate/locate/locate.rc
==============================================================================
--- stable/10/usr.bin/locate/locate/locate.rc	Tue Jan 26 07:57:44 2016	(r294778)
+++ stable/10/usr.bin/locate/locate/locate.rc	Tue Jan 26 08:44:01 2016	(r294779)
@@ -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: stable/10/usr.bin/locate/locate/updatedb.sh
==============================================================================
--- stable/10/usr.bin/locate/locate/updatedb.sh	Tue Jan 26 07:57:44 2016	(r294778)
+++ stable/10/usr.bin/locate/locate/updatedb.sh	Tue Jan 26 08:44:01 2016	(r294779)
@@ -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?201601260844.u0Q8i1Pn044009>