Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Jan 2001 18:41:11 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, FreeBSD hackers <freebsd-hackers@FreeBSD.ORG>, "Walter W. Hop" <walter@binity.com>
Subject:   Re: Boot process robustness
Message-ID:  <3A5839B7.2ABBD912@newsguy.com>
References:  <XFMail.001229155229.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A5839B7.2ABBD912>