From owner-cvs-sys Thu Feb 13 16:03:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA19993 for cvs-sys-outgoing; Thu, 13 Feb 1997 16:03:01 -0800 (PST) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA19980; Thu, 13 Feb 1997 16:02:44 -0800 (PST) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.8.5/8.8.4) with SMTP id PAA20438; Thu, 13 Feb 1997 15:58:56 -0800 (PST) Message-ID: <3303AA4C.41C67EA6@whistle.com> Date: Thu, 13 Feb 1997 15:57:00 -0800 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Bruce Evans CC: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/boot/biosboot boot.c References: <199702131315.FAA09941@freefall.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans wrote: > > bde 97/02/13 05:15:49 > > Modified: sys/i386/boot/biosboot boot.c > Log: > Get defaults for the boot device (and flags) from the file > "boot.config" (relative to the root directory on the 'a' partition > on the first BSD slice) if it exists. If it doesn't exist, then > the only visible changes should be that the kernel name isn't reset > to "/kernel" after looking it up fails and that the default name > is now "kernel". > > The new function readfile() can be used for other things: > - reading help messages. > - reading splash screens. > - reading userconfig info. > > Revision Changes Path > 1.62 +48 -16 src/sys/i386/boot/biosboot/boot.c neat, except there is no backout, which is needed to recover from a bad kernel automatically. ( the reason I didn't do this with the 'nextboot' option.)