Re: Magic sys-rq key - how ?

From: Tigran Aivazian (tigran@veritas.com)
Date: Thu Apr 20 2000 - 15:12:11 EST


On Thu, 20 Apr 2000, Alan Curry wrote:
> The answer is /proc/sys/kernel/sysrq and it's been given already, but I have
> a followup question: why? In early 2.2 you could say Y to sysrq in config,
> and you had sysrq. Then someone added an extra hurdle in /proc. So now we
> have this mechanism by which you can get the kernel to do a few things even
> when userspace is hosed, but it's only good if you can
> echo 1 >/proc/sys/kernel/sysrq first. What good is that?

What good is that? A lot of good - you just make that default! Just edit
/etc/sysctl.conf and most of the time (except before you execute sysctl
from /etc/rc.d/rc.sysinit) you will be ok.

The new /etc/sysctl.conf stuff as used in rh62 is quite neat btw.

Regards,
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:17 EST