4 ms·
* When the user presses Ctrl-Alt-Del more than 7x within 2s an immediate reboot is triggered. This useful if shutdown is hung and is unable
by peterwwillis 12y ago
* When the user presses Ctrl-Alt-Del more than 7x within 2s an
immediate reboot is triggered. This useful if shutdown is
hung and is unable to complete, to expedite the
operation. Note that this kind of reboot will still unmount
all file systems, and hence should not result in fsck being
run on next reboot.
Well that's wonderful. Sticky Keys for Linux. I'm waiting for them to implement a custom recovery shell triggered by the Contra code.
- hammerandtongs 12y agoI very much look forward to this feature, when needed it will be useful.
- feld 12y agoRight Alt+[sysrq,r,e,i,s,u,b] ... and achieves the same thing http://en.wikipedia.org/wiki/Magic_SysRq_key http://en.wikipedia.org/wiki/Magic_SysRq_key
- hammerandtongs 12y agoBut is glitchy and can be awkward to pull off. No guarantees this wont be as well, but we'll see.
- simoncion 12y agoGlitchy? Awkward? How so? I bet you a nickel that the same situations that would cause SysRq+[S,U,B] to fail to properly sync and mount ro would cause systemd's unwedge-the-world emergency reboot to fail to properly sync and mount ro. Notice that the release note says "[Emergency reboot] should not result in fsck being run on next reboot.".
- hammerandtongs 12y agoKey timing is odd sometimes which means sequencing can be out of step. Silly bet. I was making the point this is useful and convenient in this situation not that it was magic.
- iso8859-1 12y agoYes, but it's hard to remember, and it depends on Sysrq being enabled. I think the Ctrl+Alt+Del thing makes sense. Since everyone is adopting Systemd, maybe at least it will be ubiquitous. :P It does have one advantage: You don't have to press all keys. If you system is just locked up cause it's swapping like crazy, it usually gets usable after the e (terminate all tasks).
- feld 12y agowell if you don't mind altering the order a bit (syncing to disk before all the apps get SIGTERM or SIGKILL) you can use this mnemonic: Raising Skinny Elephants Is Utterly Boring That's how I remembered it for years
- iso8859-1 12y agoI always just remembered "busier" backwards. I think it's better, cause it makes more sense to sync after killing.
- deleted 12y ago[deleted]
- ninkendo 12y ago7x in 2 seconds is ridiculously fast. I'm not even sure I can pull that kind of speed off.