lkml.org 
[lkml]   [2003]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Allow sysrq() via /proc/sys/kernel/magickey
Linux Kernel Mailing List 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!


This patch is completely unneeded and redundant.

2.4.x already has /proc/sysrq-trigger for precisely this purpose.

See fs/proc/proc_misc.c for more details.

Jeff



-
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.038 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site