diff --git a/usr.bin/locate/locate/locate.rc b/usr.bin/locate/locate/locate.rc index 4b52669ff9e..6c0a973ed3a 100644 --- a/usr.bin/locate/locate/locate.rc +++ b/usr.bin/locate/locate/locate.rc @@ -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" diff --git a/usr.bin/locate/locate/locate.updatedb.8 b/usr.bin/locate/locate/locate.updatedb.8 index eeaa9c00621..a35c607dcb6 100644 --- a/usr.bin/locate/locate/locate.updatedb.8 +++ b/usr.bin/locate/locate/locate.updatedb.8 @@ -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