aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/locate/locate/locate.rc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/locate/locate/locate.rc')
-rw-r--r--usr.bin/locate/locate/locate.rc32
1 files changed, 32 insertions, 0 deletions
diff --git a/usr.bin/locate/locate/locate.rc b/usr.bin/locate/locate/locate.rc
new file mode 100644
index 000000000000..f004dea19508
--- /dev/null
+++ b/usr.bin/locate/locate/locate.rc
@@ -0,0 +1,32 @@
+#
+# /etc/locate.rc - command script for updatedb(8)
+#
+
+#
+# All commented values are the defaults
+#
+# temp directory
+#TMPDIR="/tmp"
+
+# the actual database
+#FCODES="/var/db/locate.database"
+
+# directories to be put in the database
+#SEARCHPATHS="/"
+
+# paths unwanted in output
+#PRUNEPATHS="/tmp /usr/tmp /var/tmp /var/db/freebsd-update"
+
+# directories unwanted in output
+#PRUNEDIRS=".zfs"
+
+# 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.
+#
+# the default list contains all local file systems that are not synthetic,
+# loopback mounts, or read-only, according to lsvfs.
+#
+# be careful if you add 'nfs' or other network file system types or file
+# systems that generally reside on slow or removable devices like cd9660
+#FILESYSTEMS="ufs ext2fs zfs xfs"