From owner-freebsd-hackers Tue Mar 16 6:23:27 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 0F3BF1526B for ; Tue, 16 Mar 1999 06:23:25 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com by peach.ocn.ne.jp (8.9.1a/OCN) id XAA04748; Tue, 16 Mar 1999 23:23:16 +0900 (JST) Message-ID: <36EE54E1.40572320@newsguy.com> Date: Tue, 16 Mar 1999 21:56:01 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: pt-BR,ja MIME-Version: 1.0 To: Steve Passe Cc: hackers@FreeBSD.ORG Subject: Re: power-off without halt References: <199903151655.JAA28147@Ilsa.StevesCafe.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Steve Passe wrote: > > We are looking at using FreeBSD as an "embedded OS" inside a line > of instruments we are building. I think I have a handle on all the > issues except how to cleanly handle shutdown where there is no > console, and thus no way to send a 'halt' command. The requirement > is that the user can merely turn off the power, nothing more required. > > I can modify the disk setup, kernel/util code as needed, I just need some > idea for a workable solution. Has anyone delt with this problem before? Steve, this problem might be similar to the one of a UPS-backed unit. In such systems, it is common to have a signal being sent from the UPS to the computer, so that the computer will shutdown before the UPS batteries run out. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "What happened?" "It moved, sir!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message