Re: Disambiguation for panic_timeout's sysctl

From: Randy.Dunlap
Date: Mon Nov 01 2004 - 11:23:45 EST


Olaf Hering wrote:
On Mon, Nov 01, Christoph Hellwig wrote:


On Mon, Nov 01, 2004 at 01:02:27PM +0100, Olaf Hering wrote:

On Sun, Oct 31, Jan Engelhardt wrote:



The /proc/sys/kernel/panic file looked to me like it was something like
/proc/sysrq-trigger -- until I looked into the kernel sources which reveal that
it sets the variable "panic_timeout" in kernel/sched.c.

This will probably break applications that expect the filename 'panic'.

And why should applications care for the panic timeout? Especially only
a few days after it's been added to the kernel?


/proc/sys/kernel/panic exists since at least 2.6.5.
Its used to override the silly default '0' on i386, but one should be
able to boot with panic=$bignum

It's not new. It's in 2.4.26.
And it's documented in Documentation/kernel-parameters.txt,
so any patch that changes it should also change that .txt file.



--
~Randy
MOTD: Always include version info.
(Again. Sometimes I think ln -s /usr/src/linux/.config .signature)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/