Document the existance of a configuration file for updatedb.

Fix a typo in the default rc file and add a comment about
default values.
This commit is contained in:
Guido van Rooij 1996-09-05 20:18:15 +00:00
parent e80bb77a39
commit 693b16fcbf
2 changed files with 13 additions and 4 deletions

View File

@ -1,8 +1,11 @@
#
# /etc/locate.rc - command script for updatedb(8)
#
# $Id: locate.rc,v 1.1 1996/04/26 15:25:23 wosch Exp wosch $
# $Id: locate.rc,v 1.1 1996/08/14 00:22:30 wosch Exp $
#
# All commented values are the defaults
#
# temp directory
#TMPDIR="/tmp"
@ -16,8 +19,8 @@
#PRUNEPATHS="/tmp /usr/tmp /var/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
# and if the SEARCHPATHS starts in such a filesystem locate will build
# an empty database.
#
# be carefully if you add 'nfs'
#FILESYSTEMS="ufs"

View File

@ -42,9 +42,15 @@ updates the database used by
.Xr locate 1 .
It is typically run once a week by the
.Nm /etc/weekly script.
.Pp
The contents of the newly built database can be controlled by the
.Nm /etc/locate.rc file.
.Sh FILES
.Bl -tag -width /var/db/locate.database -compact
.It Pa /var/db/locate.database the actual database
.It Pa /var/db/locate.database
the actual database
.It Pa /etc/locate.rc
the configuration file
.El
.Sh SEE ALSO
.Xr locate 1