From owner-freebsd-stable@FreeBSD.ORG Wed Jan 5 03:50:13 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EE1C16A4CE for ; Wed, 5 Jan 2005 03:50:13 +0000 (GMT) Received: from ion.gank.org (ion.gank.org [69.55.238.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 267DB43D2D for ; Wed, 5 Jan 2005 03:50:13 +0000 (GMT) (envelope-from craig@feniz.gank.org) Received: by ion.gank.org (mail, from userid 1001) id D47B72AA78; Tue, 4 Jan 2005 21:50:12 -0600 (CST) Date: Tue, 4 Jan 2005 21:50:10 -0600 From: Craig Boston To: freebsd-stable@freebsd.org Message-ID: <20050105035009.GA88792@nowhere> Mail-Followup-To: Craig Boston , freebsd-stable@freebsd.org References: <41DA7D20.8000704@yahoo.com> <200501041301.j04D1MuU021095@lurza.secnetix.de> <20050105032901.GB8708@squash.dsto.defence.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050105032901.GB8708@squash.dsto.defence.gov.au> User-Agent: Mutt/1.4.2.1i Subject: Re: fsck: broken file system with background check remains broken after bootup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 03:50:13 -0000 On Wed, Jan 05, 2005 at 01:59:01PM +1030, Wilkinson, Alex wrote: > This inspires me to ask this question: > > Is it possible to set up FreeBSD to do a clean shutdown upon a pressing > the power button ? i.e. in the same fashion as Solaris does out of the > box. Is this an ATX feature or a kernel feature in the PC world ? Yes, in FreeBSD 5.3 if ACPI is enabled and working properly, pressing the power button will initiate a graceful shutdown (similar to shutdown -p). This feature is enabled by default if it is available, so you don't have to do anything special to get it. The usual "if you have weird hardware there are no guarantees" disclaimer applies, but I've never had a problem with the software controlled power button on any fairly recent hardware. Craig