summaryrefslogtreecommitdiff
path: root/usr.bin/locate
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-01-18 13:43:56 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-01-18 13:43:56 +0000
commit6c7216df785592bb069469113f556dfd1946ed5d (patch)
tree4ff679e02e4f5503cdcbf47f6fd1aa832ff79d14 /usr.bin/locate
parent55bf0e44752ba3432c3e4632c45263d5795e0aa9 (diff)
Notes
Diffstat (limited to 'usr.bin/locate')
-rw-r--r--usr.bin/locate/locate/locate.114
-rw-r--r--usr.bin/locate/locate/locate.updatedb.810
2 files changed, 12 insertions, 12 deletions
diff --git a/usr.bin/locate/locate/locate.1 b/usr.bin/locate/locate/locate.1
index 8a2e22b2b1ec0..4205a4cd665e4 100644
--- a/usr.bin/locate/locate/locate.1
+++ b/usr.bin/locate/locate/locate.1
@@ -178,6 +178,13 @@ Use the
library instead of
.Xr mmap 2 .
.El
+.Sh ENVIRONMENT
+.Bl -tag -width LOCATE_PATH -compact
+.It Pa LOCATE_PATH
+path to the locate database if set and not empty, ignored if the
+.Fl d
+option was specified.
+.El
.Sh FILES
.Bl -tag -width /etc/periodic/weekly/310.locate -compact
.It Pa /var/db/locate.database
@@ -187,13 +194,6 @@ Script to update the locate database
.It Pa /etc/periodic/weekly/310.locate
Script that starts the database rebuild
.El
-.Sh ENVIRONMENT
-.Bl -tag -width LOCATE_PATH -compact
-.It Pa LOCATE_PATH
-path to the locate database if set and not empty, ignored if the
-.Fl d
-option was specified.
-.El
.Sh SEE ALSO
.Xr find 1 ,
.Xr whereis 1 ,
diff --git a/usr.bin/locate/locate/locate.updatedb.8 b/usr.bin/locate/locate/locate.updatedb.8
index fa48bc8f174e2..2e2248f535f1b 100644
--- a/usr.bin/locate/locate/locate.updatedb.8
+++ b/usr.bin/locate/locate/locate.updatedb.8
@@ -50,6 +50,11 @@ script.
The contents of the newly built database can be controlled by the
.Pa /etc/locate.rc
file.
+.Sh ENVIRONMENT
+.Bl -tag -width /var/db/locate.database -compact
+.It Pa LOCATE_CONFIG
+path to the configuration file
+.El
.Sh FILES
.Bl -tag -width /var/db/locate.database -compact
.It Pa /var/db/locate.database
@@ -57,11 +62,6 @@ the default database
.It Pa /etc/locate.rc
the configuration file
.El
-.Sh ENVIRONMENT
-.Bl -tag -width /var/db/locate.database -compact
-.It Pa LOCATE_CONFIG
-path to the configuration file
-.El
.Sh SEE ALSO
.Xr locate 1 ,
.Xr periodic 8