projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_3 release
[unix-history]
/
usr
/
man
/
man8
/
sync.8
diff --git
a/usr/man/man8/sync.8
b/usr/man/man8/sync.8
index
5620146
..
b8242f3
100644
(file)
--- a/
usr/man/man8/sync.8
+++ b/
usr/man/man8/sync.8
@@
-1,4
+1,10
@@
-.TH SYNC 8 "4 February 1983"
+.\" Copyright (c) 1980 Regents of the University of California.
+.\" All rights reserved. The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\" @(#)sync.8 6.2 (Berkeley) 5/28/86
+.\"
+.TH SYNC 8 "May 28, 1986"
.UC 4
.SH NAME
sync \- update the super block
.UC 4
.SH NAME
sync \- update the super block
@@
-10,11
+16,20
@@
executes the
.I sync
system primitive.
.I Sync
.I sync
system primitive.
.I Sync
-can be called to insure all disk writes have been completed before the
+can be called to insure
that
all disk writes have been completed before the
processor is halted in a way not suitably done by
.IR reboot (8)
or
.IR halt (8).
processor is halted in a way not suitably done by
.IR reboot (8)
or
.IR halt (8).
+Generally, it is preferable to use
+.I reboot
+or
+.I halt
+to shut down the system,
+as they may perform additional actions
+such as resynchronizing the hardware clock
+and flushing internal caches before performing a final
+.IR sync .
.PP
See
.IR sync (2)
.PP
See
.IR sync (2)