From owner-freebsd-hackers Sun Jan 7 1:43:59 2001 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 7CA5337B400; Sun, 7 Jan 2001 01:43:42 -0800 (PST) Received: from newsguy.com (p22-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.87]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id SAA26183; Sun, 7 Jan 2001 18:43:29 +0900 (JST) Message-ID: <3A5839B7.2ABBD912@newsguy.com> Date: Sun, 07 Jan 2001 18:41:11 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: John Baldwin Cc: Poul-Henning Kamp , FreeBSD hackers , "Walter W. Hop" Subject: Re: Boot process robustness References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Baldwin wrote: > > /boot/loader.conf perhaps, but how does the loader know that the previous boot > failed so that it knows to fall back? This is much harder, as a failed kernel > boot usually results in a hang or an instant CPU reset. Loader sets a flag before booting, and the boot process resets it at the end. Of course, loader doesn't have write capability. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@a.crazy.bsdconspiracy.net "There is no spoon." -- Kiki To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message