diff options
author | guido <guido@FreeBSD.org> | 1996-09-05 20:18:15 +0000 |
---|---|---|
committer | guido <guido@FreeBSD.org> | 1996-09-05 20:18:15 +0000 |
commit | bdff9a8fc25f189e0e2102c399bc4c080e633273 (patch) | |
tree | f570745992f53280cc780e7230ca1f45d1fbd5ce /usr.bin/locate | |
parent | baf31ee7037cf9d0f5488847ff8c1fad79fb1dd6 (diff) | |
download | FreeBSD-src-bdff9a8fc25f189e0e2102c399bc4c080e633273.zip FreeBSD-src-bdff9a8fc25f189e0e2102c399bc4c080e633273.tar.gz |
Document the existance of a configuration file for updatedb.
Fix a typo in the default rc file and add a comment about
default values.
Diffstat (limited to 'usr.bin/locate')
-rw-r--r-- | usr.bin/locate/locate/locate.rc | 9 | ||||
-rw-r--r-- | usr.bin/locate/locate/locate.updatedb.8 | 8 |
2 files changed, 13 insertions, 4 deletions
diff --git a/usr.bin/locate/locate/locate.rc b/usr.bin/locate/locate/locate.rc index 4b52669..6c0a973 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 eeaa9c0..a35c607 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 |