From owner-freebsd-current Fri Dec 11 22:16:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA20616 for freebsd-current-outgoing; Fri, 11 Dec 1998 22:16:55 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (ppp-da.dialup.hilink.com.au [203.2.144.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA20593; Fri, 11 Dec 1998 22:16:50 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id WAA00825; Fri, 11 Dec 1998 22:14:20 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812120614.WAA00825@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Warner Losh cc: Mike Smith , current@FreeBSD.ORG, mobile@FreeBSD.ORG Subject: Re: HEADS UP : laptop power-down change In-reply-to: Your message of "Fri, 11 Dec 1998 10:39:19 MST." <199812111739.KAA03402@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 11 Dec 1998 22:14:19 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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-current" in the body of the message