From e822237160f49937a020d391534382ab27cd4dc3 Mon Sep 17 00:00:00 2001 From: grog Date: Sat, 12 Nov 2005 12:45:08 +0000 Subject: Look through ext2fs file systems as well as ufs. This should almost certainly be extended to other local file systems as well (ntfs springs to mind), but I don't have the ability to test it. --- usr.bin/locate/locate/updatedb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/locate') diff --git a/usr.bin/locate/locate/updatedb.sh b/usr.bin/locate/locate/updatedb.sh index 45de7e6..9c0ace8 100644 --- a/usr.bin/locate/locate/updatedb.sh +++ b/usr.bin/locate/locate/updatedb.sh @@ -52,7 +52,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 /var/db/portsnap"} # unwanted directories -: ${FILESYSTEMS:="ufs"} # allowed filesystems +: ${FILESYSTEMS:="ufs ext2fs"} # allowed filesystems : ${find:=find} case X"$SEARCHPATHS" in -- cgit v1.1