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.
This commit is contained in:
Greg Lehey 2005-11-12 12:45:08 +00:00
parent 3d4e952eef
commit b2f9e51241

View File

@ -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