Skip to main content
might as well include the first paragraph too, since it mentions the waiting the second refers to
Source Link
ilkkachu
  • 147.8k
  • 16
  • 268
  • 441

From FreeBSD sync(8) History:

On systems older than 4.0BSD, commands like reboot(8) and halt(8) were unavailable. The shutdown procedure involved running sync, waiting for the lights to stop, and turning off the machine.

Issuing three separate syncsync commands (one line each) was a placebo that would generally suffice in Version 7 AT&T UNIX machines that were otherwise quiesced systems. It replaced the one-per-line sync as a substitute for waiting.

4.0BSD introduced reboot(2)reboot(2) and sync(2)sync(2) which rendered this trick obsolete.

sync.8: Document that the "sync dance" is not a thing · freebsd/freebsd-src@177ba18 (2024-04-25) refers to https://reviews.freebsd.org/D33233 (2021).


Manual pages for 4.3BSD NET/2:

From FreeBSD sync(8) History:

Issuing three separate sync commands (one line each) was a placebo that would generally suffice in Version 7 AT&T UNIX machines that were otherwise quiesced systems. It replaced the one-per-line sync as a substitute for waiting.

4.0BSD introduced reboot(2) and sync(2) which rendered this trick obsolete.

sync.8: Document that the "sync dance" is not a thing · freebsd/freebsd-src@177ba18 (2024-04-25) refers to https://reviews.freebsd.org/D33233 (2021).


Manual pages for 4.3BSD NET/2:

From FreeBSD sync(8) History:

On systems older than 4.0BSD, commands like reboot(8) and halt(8) were unavailable. The shutdown procedure involved running sync, waiting for the lights to stop, and turning off the machine.

Issuing three separate sync commands (one line each) was a placebo that would generally suffice in Version 7 AT&T UNIX machines that were otherwise quiesced systems. It replaced the one-per-line sync as a substitute for waiting.

4.0BSD introduced reboot(2) and sync(2) which rendered this trick obsolete.

sync.8: Document that the "sync dance" is not a thing · freebsd/freebsd-src@177ba18 (2024-04-25) refers to https://reviews.freebsd.org/D33233 (2021).


Manual pages for 4.3BSD NET/2:

Source Link
Graham Perrin
  • 372
  • 1
  • 5
  • 35

From FreeBSD sync(8) History:

… Issuing three separate sync commands (one line each) was a placebo that would generally suffice in Version 7 AT&T UNIX machines that were otherwise quiesced systems. It replaced the one-per-line sync as a substitute for waiting.

4.0BSD introduced reboot(2) and sync(2) which rendered this trick obsolete.

sync.8: Document that the "sync dance" is not a thing · freebsd/freebsd-src@177ba18 (2024-04-25) refers to https://reviews.freebsd.org/D33233 (2021).


Manual pages for 4.3BSD NET/2: