Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 1999 13:23:15 +0400 (MSD)
From:      "Alexey M. Zelkin" <phantom@scorpion.crimea.ua>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/12734: makewhatis.local stuff is out-of-date
Message-ID:  <199907210923.NAA01660@scorpion.crimea.ua>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 21 04:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907210923.NAA01660>