summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-02-27 16:26:42 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-02-27 16:26:42 +0000
commit0e6f9424b1c1e553062c50d2f471fe213d167fbd (patch)
treea0fa478f402056fff731687ab8a88d098057f25b /etc
parent68e44089d0b5afa9399854e650d96ab219a07eb4 (diff)
Use /var/tmp, not /tmp by default since historically /var/tmp has
been the larger of the two (and to make things consistent with /etc/weekly). Also add ext2fs to the list of filesystem types to search. Prompted by PR 3122 from Matthew V. Sendak.
Diffstat (limited to 'etc')
-rw-r--r--etc/locate.rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/locate.rc b/etc/locate.rc
index bf2529cc73e..c4083137ae2 100644
--- a/etc/locate.rc
+++ b/etc/locate.rc
@@ -1,10 +1,10 @@
-# $OpenBSD: locate.rc,v 1.4 1998/04/10 22:42:19 todd Exp $
+# $OpenBSD: locate.rc,v 1.5 2003/02/27 16:26:41 millert Exp $
#
# /etc/locate.rc - command script for updatedb(8)
#
# temp directory
-TMPDIR="/tmp"
+TMPDIR="/var/tmp"
# the actual database
FCODES="/var/db/locate.database"
@@ -13,11 +13,11 @@ FCODES="/var/db/locate.database"
SEARCHPATHS="/"
# directories unwanted in output
-PRUNEPATHS="/tmp /usr/tmp /var/tmp"
+PRUNEPATHS="/tmp /var/tmp /usr/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 careful if you add 'nfs'
-FILESYSTEMS="ffs ufs"
+FILESYSTEMS="ffs ufs ext2fs"