Subject: bin/11141: References to update(8) still exist
To: None <gnats-bugs@gnats.netbsd.org>
From: Nick Hudson <nick@go61923.demon.co.uk>
List: netbsd-bugs
Date: 10/05/2000 03:46:21
>Number:         11141
>Category:       bin
>Synopsis:       References to update(8) still exist
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 05 03:46:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Nick Hudson
>Release:        NetBSD-current 2000/10/05
>Organization:
>Environment:
System: NetBSD go61923 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (GO61923) #0: Mon Oct 2 14:12:25 BST 2000 root@go61923:/usr/NetBSD/NetBSD-1.5/src/sys/arch/i386/compile/GO61923 i386


>Description:
	There are references to update(8) in
		src/bin/sync/sync.8
		src/lib/libc/sys/fsync.2
		src/lib/libc/sys/sync.2
>How-To-Repeat:
	man sync
	...
>Fix:
	The following patch removes references. Someone who understands
	the trickle sync stuff might want to add some words.

Index: bin/sync/sync.8
===================================================================
RCS file: /cvsroot/basesrc/bin/sync/sync.8,v
retrieving revision 1.8
diff -c -c -r1.8 sync.8
*** bin/sync/sync.8	1999/03/22 18:30:47	1.8
--- bin/sync/sync.8	2000/10/05 10:38:16
***************
*** 68,75 ****
  .Xr sync 2 ,
  .Xr fsync 2 ,
  .Xr halt 8 ,
! .Xr reboot 8 ,
! .Xr update 8
  .Sh HISTORY
  A
  .Nm
--- 68,74 ----
  .Xr sync 2 ,
  .Xr fsync 2 ,
  .Xr halt 8 ,
! .Xr reboot 8
  .Sh HISTORY
  A
  .Nm
Index: lib/libc/sys/fsync.2
===================================================================
RCS file: /cvsroot/basesrc/lib/libc/sys/fsync.2,v
retrieving revision 1.7
diff -c -c -r1.7 fsync.2
*** lib/libc/sys/fsync.2	1999/12/02 21:42:36	1.7
--- lib/libc/sys/fsync.2	2000/10/05 10:38:16
***************
*** 76,83 ****
  .El
  .Sh SEE ALSO
  .Xr sync 2 ,
! .Xr sync 8 ,
! .Xr update 8
  .Sh HISTORY
  The
  .Fn fsync
--- 76,82 ----
  .El
  .Sh SEE ALSO
  .Xr sync 2 ,
! .Xr sync 8
  .Sh HISTORY
  The
  .Fn fsync
Index: lib/libc/sys/sync.2
===================================================================
RCS file: /cvsroot/basesrc/lib/libc/sys/sync.2,v
retrieving revision 1.7
diff -c -c -r1.7 sync.2
*** lib/libc/sys/sync.2	1999/12/02 21:42:40	1.7
--- lib/libc/sys/sync.2	2000/10/05 10:38:16
***************
*** 52,64 ****
  in the block buffer cache out
  to disk. The kernel keeps this information in core to reduce
  the number of disk I/O transfers required by the system.
- As information in the cache is lost after a system crash a
- .Fn sync
- call is issued
- frequently
- by the user process
- .Xr update 8
- (about every 30 seconds). 
  .Pp
  The function
  .Xr fsync 2
--- 52,57 ----
***************
*** 66,73 ****
  attributes.
  .Sh SEE ALSO
  .Xr fsync 2 ,
! .Xr sync 8 ,
! .Xr update 8
  .Sh BUGS
  .Fn sync
  may return before the buffers are completely flushed.
--- 59,65 ----
  attributes.
  .Sh SEE ALSO
  .Xr fsync 2 ,
! .Xr sync 8
  .Sh BUGS
  .Fn sync
  may return before the buffers are completely flushed.
>Release-Note:
>Audit-Trail:
>Unformatted: