From cc93b0eb2b91b110c4775634382d98c71318ceec Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Wed, 9 Jul 2008 19:53:27 +0000 Subject: [PATCH] Add HAMMER to the list of file systems to be searched by locate.updatedb. --- usr.bin/locate/locate/locate.rc | 4 ++-- usr.bin/locate/locate/updatedb.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.bin/locate/locate/locate.rc b/usr.bin/locate/locate/locate.rc index f10694418f..df71a6dfca 100644 --- a/usr.bin/locate/locate/locate.rc +++ b/usr.bin/locate/locate/locate.rc @@ -2,7 +2,7 @@ # /etc/locate.rc - command script for updatedb(8) # # $FreeBSD: src/usr.bin/locate/locate/locate.rc,v 1.8 1999/08/28 01:02:59 peter Exp $ -# $DragonFly: src/usr.bin/locate/locate/locate.rc,v 1.2 2003/06/17 04:29:28 dillon Exp $ +# $DragonFly: src/usr.bin/locate/locate/locate.rc,v 1.3 2008/07/09 19:53:27 swildner Exp $ # # All commented values are the defaults @@ -24,4 +24,4 @@ # an empty database. # # be careful if you add 'nfs' -#FILESYSTEMS="ufs" +#FILESYSTEMS="hammer ufs" diff --git a/usr.bin/locate/locate/updatedb.sh b/usr.bin/locate/locate/updatedb.sh index 03e30a221c..78bf71b2c4 100644 --- a/usr.bin/locate/locate/updatedb.sh +++ b/usr.bin/locate/locate/updatedb.sh @@ -27,7 +27,7 @@ # updatedb - update locate database for local mounted filesystems # # $FreeBSD: src/usr.bin/locate/locate/updatedb.sh,v 1.17 2000/01/12 08:01:01 kris Exp $ -# $DragonFly: src/usr.bin/locate/locate/updatedb.sh,v 1.2 2003/06/17 04:29:28 dillon Exp $ +# $DragonFly: src/usr.bin/locate/locate/updatedb.sh,v 1.3 2008/07/09 19:53:27 swildner Exp $ : ${LOCATE_CONFIG="/etc/locate.rc"} if [ -f "$LOCATE_CONFIG" -a -r "$LOCATE_CONFIG" ]; then @@ -48,7 +48,7 @@ PATH=$LIBEXECDIR:/bin:/usr/bin:$PATH; export PATH : ${FCODES:=/var/db/locate.database} # the database : ${SEARCHPATHS:="/"} # directories to be put in the database : ${PRUNEPATHS:="/tmp /usr/tmp /var/tmp"} # unwanted directories -: ${FILESYSTEMS:="ufs"} # allowed filesystems +: ${FILESYSTEMS:="hammer ufs"} # allowed filesystems : ${find:=find} case X"$SEARCHPATHS" in -- 2.11.4.GIT