cannedtuna@lemmy.world to linuxmemes@lemmy.worldEnglish · 24 days agoSeriously, every time I gotta be out the door. Just let me shut you down.lemmy.worldimagemessage-square130fedilinkarrow-up1412arrow-down111
arrow-up1401arrow-down1imageSeriously, every time I gotta be out the door. Just let me shut you down.lemmy.worldcannedtuna@lemmy.world to linuxmemes@lemmy.worldEnglish · 24 days agomessage-square130fedilink
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up7·edit-224 days agoWhat? sync ; sync ; sync ; shutdown -h now Or nothing!
minus-squareAnUnusualRelic@lemmy.worldlinkfedilinkarrow-up6·24 days 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-squareSonotsugipaa@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up4·24 days 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.
minus-squareBartyDeCanter@piefed.sociallinkfedilinkEnglisharrow-up2·24 days agoBefore Linux had a shutdown command, you’d run “sync && sync && sync” then hit the power button.
minus-squaredadarobot@lemmy.mllinkfedilinkarrow-up1·24 days agois that true? i guess it makes sense. you dont “shutdown” DOS
minus-squareHorseChandelier@lemmy.worldlinkfedilinkEnglisharrow-up2·24 days ago3 syncs? Sun Microsystems trainers told me 2!
What?
sync ; sync ; sync ; shutdown -h nowOr nothing!
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.
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.
Before Linux had a shutdown command, you’d run “sync && sync && sync” then hit the power button.
is that true? i guess it makes sense. you dont “shutdown” DOS
3 syncs? Sun Microsystems trainers told me 2!
Seems risky to me…