cannedtuna@lemmy.world to linuxmemes@lemmy.worldEnglish · 3 hours agoSeriously, every time I gotta be out the door. Just let me shut you down.lemmy.worldimagemessage-square44fedilinkarrow-up1154arrow-down11
arrow-up1153arrow-down1imageSeriously, every time I gotta be out the door. Just let me shut you down.lemmy.worldcannedtuna@lemmy.world to linuxmemes@lemmy.worldEnglish · 3 hours agomessage-square44fedilink
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up12·edit-23 hours agoWhat? sync ; sync ; sync ; shutdown -h now Or nothing!
minus-squareHorseChandelier@lemmy.worldlinkfedilinkEnglisharrow-up2·2 hours ago3 syncs? Sun Microsystems trainers told me 2!
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up7·2 hours agoIt’s traditional, it used to be done that way on old systems. It was done for extra luck I suppose. Nowadays, shutdown syncs as a matter of fact, and filesystems are much less brittle.
minus-squareBartyDeCanter@piefed.sociallinkfedilinkEnglisharrow-up2·1 hour agoBefore Linux had a shutdown command, you’d run “sync && sync && sync” then hit the power button.
minus-squareSonotsugipaa@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up4·2 hours agoGotta make sure the FS cache syncs. Not too sure, hence the use of semicolons instead of double ampersands, but a moderately high level of sure.
What?
sync ; sync ; sync ; shutdown -h nowOr nothing!
3 syncs? Sun Microsystems trainers told me 2!
Seems risky to me…
why?
It’s traditional, it used to be done that way on old systems. It was done for extra luck I suppose.
Nowadays, shutdown syncs as a matter of fact, and filesystems are much less brittle.
Before Linux had a shutdown command, you’d run “sync && sync && sync” then hit the power button.
Gotta make sure the FS cache syncs.
Not too sure, hence the use of semicolons instead of double ampersands, but a moderately high level of sure.