Hi! > > > A power failure is a different thing from a power button press. > > > And why not do exactly this with init? Have a look in /etc/inittab: > > > You can shut down your machine there, but you can also have it play a > > cancan on power failure. It is up to your gusto. And now tell me, why > > not choose a similar approach, but instead reinvent the wheel and > > create a completely new mechanism? > > Because we'd be running out of signals soon, when all the other ACPI > events get available. There are 32 signals, and signals can carry more information, if required. I really think doing it way UPS-es are done is right approach. Pavel -- I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: Let init know user wants to shutdown Miquel van Smoorenburg
- Re: Let init know user wants to shutdown Miquel van Smoorenburg
- Re: Let init know user wants to shutdown Kurt Roeckx
- Re: Let init know user wants to shutdown Kurt Roeckx
- Re: Let init know user wants to shutdown Miquel van Smoorenburg
- Re: Let init know user wants to shutdown Mike Castle
- Re: Let init know user wants to shutdown Pavel Machek
- Re: Let init know user wants to shutdo... Simon Richter
- Re: Let init know user wants to sh... Andreas Ferber
- Re: Let init know user wants ... Simon Richter
- Re: Let init know user wa... Pavel Machek
- Re: Let init know user wa... Simon Richter
- Re: Let init know user wa... Andreas Ferber
- Re: Let init know user wa... Simon Richter
- Re: Let init know user wa... Andreas Ferber
- Re: Let init know user wa... Simon Richter
- Re: Let init know user wants to sh... Ben Ford
- Re: Let init know user wants to shutdown Pavel Machek
- RE: Let init know user wants to shutdown Grover, Andrew
- Re: Let init know user wants to shutdown John R Lenton
- Re: Let init know user wants to shutdown John Fremlin