Re: Disambiguation for panic_timeout's sysctl

From: Olaf Hering
Date: Mon Nov 01 2004 - 07:13:10 EST


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

--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÃRNBERG
-
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/