Date: Fri, 11 Dec 1998 22:14:19 -0800 From: Mike Smith <mike@smith.net.au> To: Warner Losh <imp@village.org> Cc: Mike Smith <mike@smith.net.au>, current@FreeBSD.ORG, mobile@FreeBSD.ORG Subject: Re: HEADS UP : laptop power-down change Message-ID: <199812120614.WAA00825@dingo.cdrom.com> In-Reply-To: Your message of "Fri, 11 Dec 1998 10:39:19 MST." <199812111739.KAA03402@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> In message <199812110803.AAA00533@dingo.cdrom.com> Mike Smith writes: > : > : Why the change? The current behavior seems right to me. > : Yes. There is a perfectly good set of run-time options which allow you > : to determine at any time whether you want to power-off or halt; having > : a kernel option override this would be stupid. > > But the i386 code doesn't *HAVE* a rom monitor to drop back into... > We just go into a loop that says press any key to reboot. Not exactly > useful. The apm code is i386 specific, by definition. The APM code is i386 specific, and the Sun power-management code (should it exist) would be Sparc specific, and if there's an Alpha box with power control, code for that will be Alpha-specific. So what? Power down means power down. Halt means halt. The two are different things, even if one or the other doesn't have a significant meaning in a given special case. There are good reasons to halt an i386 system rather than power cycle it, even if APM is active. > There are many places where we have kernel options that override > stuff, I fail to see how this is different. At the very least I'd > like to make it a sysctl so I can set it in my boot scripts. How hard is it to change _one_commandline_option_ when you call shutdown(8)? Come on... -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812120614.WAA00825>