From FreeBSD sync(8) History:
…On systems older than 4.0BSD, commands like
reboot(8)andhalt(8)were unavailable. The shutdown procedure involved runningsync, waiting for the lights to stop, and turning off the machine.Issuing three separate sync
synccommands (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: