2003-09-15 15:31:48

by Jon Masters

[permalink] [raw]
Subject: /proc/sys sysrq

Hi,


Someone recently posted a message to Linux Managers about rebooting a box
with a failed drive and no serial console from a remote location. It
turned out in that instance that there was another drive and enough
working to copy a simple reboot binary to it.

Anyway I was wondering whether there is an official "alternative sysrq" in
/proc/sys or if it would be worth me writing a patch to add things like a
reboot entry one could cat "feeldead" to or whatever...is this even worth
doing or been done?

Jon.




2003-09-15 15:45:20

by Randy.Dunlap

[permalink] [raw]
Subject: Re: /proc/sys sysrq

On Mon, 15 Sep 2003 16:31:47 +0100 (BST) "Jon Masters" <[email protected]> wrote:

| Hi,
|
|
| Someone recently posted a message to Linux Managers about rebooting a box
| with a failed drive and no serial console from a remote location. It
| turned out in that instance that there was another drive and enough
| working to copy a simple reboot binary to it.
|
| Anyway I was wondering whether there is an official "alternative sysrq" in
| /proc/sys or if it would be worth me writing a patch to add things like a
| reboot entry one could cat "feeldead" to or whatever...is this even worth
| doing or been done?

It's already there (in 2.4.recent and 2.5/2.6: /proc/sysrq-trigger)

--
~Randy