3 ms·
I recently saw a comment that the advice `sync;sync;halt` is actually wrong and the correct one was: sync sync halt typed out manually, to give enoug
by steerablesafe 6y ago
I recently saw a comment that the advice `sync;sync;halt` is actually wrong and the correct one was:
sync
sync
halt
typed out manually, to give enough time for the first sync.
https://lwn.net/Articles/843269/ https://lwn.net/Articles/843269/
- oilbagz 6y agoShould be: $ sync && sync && sync && halt BTW, the 'sync;sync;sync' thing was a necessary command given, mosty during the late 70's and early 80's, to park the tape head. Unix didn't have a 'rewind tape' command, so many manufacturers instead decided that three rapid syncs in a row meant 'rewind tape'. Disclaimer: had that muscle memory burned into me for decades, I still do it ...
- klyrs 6y agoTo be perfectly honest, I inserted the semicolons because I wanted it to make at least a little sense... I wasn't paying close enough attention to the old-timer reminiscing to recall his precise keystrokes. But thanks for the link!