From phantom@scorpion.crimea.ua Wed Jul 21 03:51:03 1999
Return-Path: <phantom@scorpion.crimea.ua>
Received: from ccssu.crimea.ua (mordor.ccssu.crimea.ua [62.244.13.130])
	by hub.freebsd.org (Postfix) with ESMTP id B853F154AA
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 21 Jul 1999 03:50:22 -0700 (PDT)
	(envelope-from phantom@scorpion.crimea.ua)
Received: (from uucp@localhost)
	by ccssu.crimea.ua (8.9.3/8.9.0) with UUCP id NAA04621
	for FreeBSD-gnats-submit@freebsd.org; Wed, 21 Jul 1999 13:47:59 +0300
Received: (from phantom@localhost)
	by scorpion.crimea.ua (8.8.8/8.8.5+ssl+keepalive) id NAA01660;
	Wed, 21 Jul 1999 13:23:15 +0400 (MSD)
Message-Id: <199907210923.NAA01660@scorpion.crimea.ua>
Date: Wed, 21 Jul 1999 13:23:15 +0400 (MSD)
From: "Alexey M. Zelkin" <phantom@scorpion.crimea.ua>
Reply-To: phantom@cris.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: makewhatis.local stuff is out-of-date
X-Send-Pr-Version: 3.2

>Number:         12734
>Category:       docs
>Synopsis:       [patches] bring makewhatis.local* stuff to up-to-date state
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 21 04:00:01 PDT 1999
>Closed-Date:    Fri Jul 30 14:12:22 PDT 1999
>Last-Modified:  Fri Jul 30 14:12:52 PDT 1999
>Originator:     Alexey Zelkin
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

makewhatis.local.sh:
     $Id: makewhatis.local.sh,v 1.5 1997/02/22 15:47:03 peter Exp $
makewhatis.local.8:
     $Id: makewhatis.local.8,v 1.6 1997/06/23 04:51:30 steve Exp $

>Description:

These files have invalid references to /etc/weekly.

>How-To-Repeat:

grep weekly /usr/libexec/makewhatis.local
man 8 makewhatis.local

>Fix:

Index: makewhatis.local.8
===================================================================
RCS file: /usr/local/CVSROOT/src/gnu/usr.bin/man/makewhatis/makewhatis.local.8,v
retrieving revision 1.6
diff -c -r1.6 makewhatis.local.8
*** makewhatis.local.8	1997/06/23 04:51:30	1.6
--- makewhatis.local.8	1999/07/21 07:52:36
***************
*** 28,34 ****
  .Os FreeBSD 2.2
  .Sh NAME
  .Nm makewhatis.local , catman.local
! .Nd start makewhatis for local file systems
  .Sh SYNOPSIS
  .Nm /usr/libexec/makewhatis.local
  .Op options
--- 28,34 ----
  .Os FreeBSD 2.2
  .Sh NAME
  .Nm makewhatis.local , catman.local
! .Nd start makewhatis or catman for local file systems
  .Sh SYNOPSIS
  .Nm /usr/libexec/makewhatis.local
  .Op options
***************
*** 44,68 ****
  where the 
  .Nm
  is being executed. Running makewhatis
! from 
! .Pa /etc/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.
  .Sh FILES
! .Bl -tag -width /etc/weekly.XXX -compact
! .It Pa /etc/weekly 
  run
! .Nm
  every week
  .El
  .Sh SEE ALSO
  .Xr catman 1 ,
  .Xr find 1 ,
  .Xr makewhatis 1 ,
! .Xr cron 8 .
  .Sh HISTORY
  The
  .Nm
--- 44,78 ----
  where the 
  .Nm
  is being executed. Running makewhatis
! 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/periodic/weekly/320.whatis.XXX -compact
! .It Pa /etc/periodic/weekly/320.whatis
  run
! .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 periodic 8 .
  .Sh HISTORY
  The
  .Nm

Index: makewhatis.local.sh
===================================================================
RCS file: /usr/local/CVSROOT/src/gnu/usr.bin/man/makewhatis/makewhatis.local.sh,v
retrieving revision 1.5
diff -c -r1.5 makewhatis.local.sh
*** makewhatis.local.sh	1997/02/22 15:47:03	1.5
--- makewhatis.local.sh	1999/07/21 07:55:08
***************
*** 27,35 ****
  # 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.
  #
  # PS: this wrapper works also for catman(1)
  #
--- 27,35 ----
  # makewhatis.local - start makewhatis(1) only for file systems 
  #		     physically mounted on the system
  #
! # 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)
  #

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: nik 
State-Changed-When: Fri Jul 30 14:12:22 PDT 1999 
State-Changed-Why:  
Committed, thanks. 
>Unformatted:
