From owner-freebsd-current Fri Dec 11 11:56:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA19216 for freebsd-current-outgoing; Fri, 11 Dec 1998 11:56:30 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA19198; Fri, 11 Dec 1998 11:56:28 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id LAA19368; Fri, 11 Dec 1998 11:55:10 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma019361; Fri, 11 Dec 98 11:54:51 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id LAA27864; Fri, 11 Dec 1998 11:54:51 -0800 (PST) From: Archie Cobbs Message-Id: <199812111954.LAA27864@bubba.whistle.com> Subject: Re: HEADS UP : laptop power-down change In-Reply-To: <199812111739.KAA03402@harmony.village.org> from Warner Losh at "Dec 11, 98 10:39:19 am" To: imp@village.org (Warner Losh) Date: Fri, 11 Dec 1998 11:54:51 -0800 (PST) Cc: mike@smith.net.au, current@FreeBSD.ORG, mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh writes: > 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 theory is that halt != power down. Anyone can understand this because there are real world examples of (non i386) computers that drop into a monitor upon halt. No argument there. FreeBSD is (ideally) independent of specific architectures/hardware. Therefore, to be consistent and non-hardware-specific FreeBSD should support both -h and -p. Now in the subcase that you're running FreeBSD on i386 with no monitor ROM, then I don't what's wrong with making '-h' and '-p' degenerate, ie, they both do the same thing: halt the system and cause a power off. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message