[BACK]Return to locate.rc CVS log [TXT][DIR] Up to [local] / src / etc

File: [local] / src / etc / locate.rc (download)

Revision 1.5, Thu Feb 27 16:26:41 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.4: +4 -4 lines

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.

#	$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="/var/tmp"

# the actual database
FCODES="/var/db/locate.database"

# directories to be put in the database
SEARCHPATHS="/"

# directories unwanted in output
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 ext2fs"