summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2005-11-12 12:45:08 +0000
committergrog <grog@FreeBSD.org>2005-11-12 12:45:08 +0000
commite822237160f49937a020d391534382ab27cd4dc3 (patch)
tree4ac63f2fc01c27d5d8e7fe9889b74c4ddbd73340 /usr.bin/locate
parent7127030e00014e2ace91dfc0bf5337407054a589 (diff)
downloadFreeBSD-src-e822237160f49937a020d391534382ab27cd4dc3.zip
FreeBSD-src-e822237160f49937a020d391534382ab27cd4dc3.tar.gz
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.
Diffstat (limited to 'usr.bin/locate')
-rw-r--r--usr.bin/locate/locate/updatedb.sh2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud