4 ms·
https://utcc.utoronto.ca/~cks/space/blog/unix/TheLegendOfSync https://utcc.utoronto.ca/~cks/space/blog/unix/TheLegendOfSyn... people were told 'do several sy
by yyx 8y ago
https://utcc.utoronto.ca/~cks/space/blog/unix/TheLegendOfSync https://utcc.utoronto.ca/~cks/space/blog/unix/TheLegendOfSyn...
people were told 'do several sync commands, typing each by hand'
But this mutated to just 'sync three times', so of course people started writing 'sync; sync; sync'
- sgt 8y agoI still type sync (just once) before I reboot. Just a habit.
- beefhash 8y agoI always get some kind of error message from dmraid about having been unable to stop the RAID array on shutdown/reboot. I thus manually do a sync(1) in hopes that the data survives. Hasn't failed me thus far, at least.
- slavik81 8y agoThe only machine I ever developed on that needed a sync before reboot was an ancient SPARC workstation. I forgot to sync almost every time, but it would always boot after a fsck.
- noir_lord 8y agoThe last thing I do before I leave my work desktop for the day is ./eod.sh && sync && sync 20+ year old habits die hard.