From 1da2b27c064ee1c495f2f6affa39c57e2120b77c Mon Sep 17 00:00:00 2001 From: millert <> Date: Thu, 27 Feb 2003 16:26:41 +0000 Subject: [PATCH] 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. --- src/etc/locate.rc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/etc/locate.rc b/src/etc/locate.rc index bf2529cc..c4083137 100644 --- a/src/etc/locate.rc +++ b/src/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"