diff --git a/src/etc/locate.rc b/src/etc/locate.rc new file mode 100644 index 00000000..c1dd3b6a --- /dev/null +++ b/src/etc/locate.rc @@ -0,0 +1,24 @@ +# $OpenBSD: locate.rc,v 1.1 1996/08/17 01:30:25 michaels Exp $ +# +# /etc/locate.rc - command script for updatedb(8) +# +# $Id: locate.rc,v 1.1 1996/08/17 01:30:25 michaels Exp $ + +# temp directory +TMPDIR="/tmp" + +# the actual database +FCODES="/var/db/locate.database" + +# directories to be put in the database +SEARCHPATHS="/" + +# directories unwanted in output +PRUNEPATHS="/tmp /usr/tmp /var/tmp" + +# filesystems allowed. Beware: a non-listed filesystem will be pruned +# and is the SEARCHPATHS starts in such a filesystem locate will build +# an empty database +# +# be carefully if you add 'nfs' +FILESYSTEMS="local"