aboutsummaryrefslogtreecommitdiff
path: root/bin/sync/sync.8
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sync/sync.8')
-rw-r--r--bin/sync/sync.833
1 files changed, 29 insertions, 4 deletions
diff --git a/bin/sync/sync.8 b/bin/sync/sync.8
index 7f331f1222e3..fcd07ca72240 100644
--- a/bin/sync/sync.8
+++ b/bin/sync/sync.8
@@ -26,10 +26,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)sync.8 8.1 (Berkeley) 5/31/93
-.\" $FreeBSD$
-.\"
-.Dd May 31, 1993
+.Dd April 25, 2024
.Dt SYNC 8
.Os
.Sh NAME
@@ -72,3 +69,31 @@ A
.Nm
utility appeared in
.At v4 .
+.Pp
+On systems older than
+.Bx 4.0 ,
+commands like
+.Xr reboot 8
+and
+.Xr halt 8
+were unavailable.
+The shutdown procedure involved running
+.Nm ,
+waiting for the lights to stop,
+and turning off the machine.
+.Pp
+Issuing three separate
+.Nm
+commands (one line each) was a placebo that would generally suffice in
+.At v7
+machines that were otherwise quiesced systems.
+It replaced the one-per-line
+.Nm
+as a substitute for waiting.
+.Pp
+.Bx 4.0
+introduced
+.Xr reboot 2
+and
+.Xr sync 2
+which rendered this trick obsolete.