lkml.org 
[lkml]   [2003]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Allow sysrq() via /proc/sys/kernel/magickey
On Mon, Aug 25, 2003 at 07:42:57PM +0000, Linux Kernel wrote:
> ChangeSet 1.1114, 2003/08/25 16:42:57-03:00, m.c.p@wolk-project.de
>
> [PATCH] Allow sysrq() via /proc/sys/kernel/magickey
>
> Hi Marcelo,
>
> sysrq() is a good thing to debug things, but unfortunately you need to have
> physical access to the keyboard. My company for instance maintains tons of
> remote machines and sometimes we need to do sysrq() too, but it's not
> possible to do so the remote way.
>
> Attached patch enables emulation of the Magic SysRq key (Alt-SysRq-key) via
> the /proc interface. Just echo the desired character into the file and there
> you go.
>
> Patch from Randy Dunlap!
>
> It's in -wolk for a long time and also in some other kernel tree forks.
> 2.5/2.6 has almost the same (/proc/sysrq-trigger)

So why not make this compatible with existing behaviour, and use the
same name ? Seems this is deviating between 2.4 / 2.6 for no good reason.

Dave

--
Dave Jones http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.046 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site