Subject: Re: ctrl+alt+del
To: NetBSD User's Discussion List <netbsd-users@NetBSD.ORG>
From: David Maxwell <>
List: netbsd-users
Date: 06/10/2001 23:53:36
On Sun, Jun 10, 2001 at 01:41:25PM -0400, Greg A. Woods wrote:
> [ On Sunday, June 10, 2001 at 11:11:12 (+0200), Martin Husemann wrote: ]
> > IMHO it should be special cased and send SIGPWR to init, which then would
> > run a special script (like /etc/powerdown) if it exists, otherwise ignore
> > the signal.
> Pushing back to userlevel defeats the purpose.

Well, that leaves open a whole discussion about where userland's border
is, wrt 'init'. :-)

> I think maybe on i386 <ctrl+alt+del> should also invoke the kernel
> debugger, if it's available, and then the debugger can print a helpful
> little message that tells people who "forget" that they can type
> "reboot" to reboot, or "continue" to return to the system (eg. to do a
> "normal" or "proper" shutdown).  Even the most clueless luser should be
> able to figure this much out and it gives people building turn-key
> systems a decent fail-safe that on an otherwise wedged system will allow
> at least the disks to be sync'ed if at all possible.

That would need to be settable as well. The people arguing for CAD
to allow convienient shutdown via the remote-hands protocol, may not
want to open their console to the messing that can be done with DDB. DDB
may also not be compiled in.

David Maxwell,| -->
(About an Amiga rendering landscapes) It's not thinking, it's being artistic!
					      - Jamie Woods