Page MenuHomeFreeBSD

D33233.diff
No OneTemporary

D33233.diff

diff --git a/bin/sync/sync.8 b/bin/sync/sync.8
--- a/bin/sync/sync.8
+++ b/bin/sync/sync.8
@@ -26,7 +26,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 31, 1993
+.Dd April 25, 2024
.Dt SYNC 8
.Os
.Sh NAME
@@ -69,3 +69,31 @@
.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.

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 1, 11:34 PM (18 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13286961
Default Alt Text
D33233.diff (865 B)

Event Timeline