From owner-freebsd-hackers Tue Mar 16 12:23:19 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from Ilsa.StevesCafe.com (Ilsa.StevesCafe.com [205.168.119.129]) by hub.freebsd.org (Postfix) with ESMTP id EF6141536E for ; Tue, 16 Mar 1999 12:23:13 -0800 (PST) (envelope-from fbsd@Ilsa.StevesCafe.com) Received: from Ilsa.StevesCafe.com (localhost.StevesCafe.com [127.0.0.1]) by Ilsa.StevesCafe.com (8.8.8/8.8.5) with ESMTP id NAA01135 for ; Tue, 16 Mar 1999 13:31:42 -0700 (MST) Message-Id: <199903162031.NAA01135@Ilsa.StevesCafe.com> X-Mailer: exmh version 2.0.2 2/24/98 From: Steve Passe To: hackers@FreeBSD.ORG Subject: Re: power-off without halt In-reply-to: Your message of "Tue, 16 Mar 1999 21:56:01 +0900." <36EE54E1.40572320@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 16 Mar 1999 13:31:42 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, > 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? First, I want to thank everyone for the useful replies I received on this, over 30 so far! Several people have suggested a UPS based solution. This is to look like an instrument, ie a small black box. Not enough room for a UPS internally, and nothing to prevent a user from unplugging it. The ideas about honker caps for ~60-100ms uptime might be workable. The ideas along the lines of an MFS based working partition, with everything else mounted readonly also has merit. I'll be back after mulling this over some more... thanx again, -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message