summaryrefslogtreecommitdiffstats
path: root/usr.bin/makewhatis
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>1999-07-30 21:12:35 +0000
committernik <nik@FreeBSD.org>1999-07-30 21:12:35 +0000
commit5ccc55dc346b5c96e1b9c227de45a078f73f955f (patch)
tree26db0058919ca080ba23e2be5ac34770a97990f5 /usr.bin/makewhatis
parent44986beccaaeb0b4987775026d274ebd7f728ebb (diff)
downloadFreeBSD-src-5ccc55dc346b5c96e1b9c227de45a078f73f955f.zip
FreeBSD-src-5ccc55dc346b5c96e1b9c227de45a078f73f955f.tar.gz
Reflect the change from the /etc/weekly to /etc/periodic/weekly/*.
PR: docs/12734 Submitted by: Alexey M. Zelkin <phantom@scorpion.crimea.ua>
Diffstat (limited to 'usr.bin/makewhatis')
-rw-r--r--usr.bin/makewhatis/makewhatis.local.826
-rw-r--r--usr.bin/makewhatis/makewhatis.local.sh8
2 files changed, 22 insertions, 12 deletions
diff --git a/usr.bin/makewhatis/makewhatis.local.8 b/usr.bin/makewhatis/makewhatis.local.8
index b7fd62f..8f7bc5b 100644
--- a/usr.bin/makewhatis/makewhatis.local.8
+++ b/usr.bin/makewhatis/makewhatis.local.8
@@ -22,13 +22,13 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: makewhatis.local.8,v 1.5 1997/02/22 15:47:02 peter Exp $
+.\" $Id: makewhatis.local.8,v 1.6 1997/06/23 04:51:30 steve Exp $
.Dd April 26, 1996
.Dt MAKEWHATIS.LOCAL 8
.Os FreeBSD 2.2
.Sh NAME
.Nm makewhatis.local , catman.local
-.Nd start makewhatis for local file systems
+.Nd start makewhatis or catman for local file systems
.Sh SYNOPSIS
.Nm /usr/libexec/makewhatis.local
.Op options
@@ -44,25 +44,35 @@ only for file systems physically mounted on the system
where the
.Nm
is being executed. Running makewhatis
-from
-.Pa /etc/weekly
+by
+.Pa periodic weekly
for rw nfs-mounted /usr may kill
your NFS server -- all NFS clients start makewhatis at the same time!
So use this wrapper for
.Xr cron 8
instead of calling makewhatis directly.
+.Nm catman.local
+is using for same purposes as
+.Nm makewhatis.local
+but for
+.Xr catman 1 .
.Sh FILES
-.Bl -tag -width /etc/weekly.XXX -compact
-.It Pa /etc/weekly
+.Bl -tag -width /etc/periodic/weekly/320.whatis.XXX -compact
+.It Pa /etc/periodic/weekly/320.whatis
run
-.Nm
+.Nm makewhatis.local
+every week
+.It Pa /etc/periodic/weekly/330.catman
+run
+.Nm catman.local
every week
.El
.Sh SEE ALSO
.Xr catman 1 ,
.Xr find 1 ,
.Xr makewhatis 1 ,
-.Xr cron 8 .
+.Xr cron 8 ,
+.Xr periodic 8 .
.Sh HISTORY
The
.Nm
diff --git a/usr.bin/makewhatis/makewhatis.local.sh b/usr.bin/makewhatis/makewhatis.local.sh
index 9ad997b..56ebc7e 100644
--- a/usr.bin/makewhatis/makewhatis.local.sh
+++ b/usr.bin/makewhatis/makewhatis.local.sh
@@ -27,13 +27,13 @@
# makewhatis.local - start makewhatis(1) only for file systems
# physically mounted on the system
#
-# Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill
-# your NFS server -- all clients start makewhatis at the same time!
-# So use this wrapper instead calling makewhatis directly.
+# Running makewhatis from /etc/periodic/weekly/320.whatis for rw nfs-mounted
+# /usr may kill your NFS server -- all clients start makewhatis at the same
+# time! So use this wrapper instead calling makewhatis directly.
#
# PS: this wrapper works also for catman(1)
#
-# $Id$
+# $Id: makewhatis.local.sh,v 1.5 1997/02/22 15:47:03 peter Exp $
PATH=/bin:/usr/bin:$PATH; export PATH
opt= dirs= localdirs=
OpenPOWER on IntegriCloud