summaryrefslogtreecommitdiff
path: root/etc/locate.rc
blob: 5d2a66ddd3c72f74dfec4c68dcf2cd37a51fa414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#	$OpenBSD: locate.rc,v 1.8 2021/08/06 19:14:55 tim Exp $
#
# /etc/locate.rc -  command script for locate.updatedb(8)
#

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

# filesystems allowed. Beware: a non-listed filesystem will be pruned
# and if the SEARCHPATHS starts in such a filesystem locate will build
# an empty database
#
# be careful if you add 'nfs'
FILESYSTEMS="ffs ufs ext2fs"