Date: Thu, 23 May 2002 19:28:58 -0700 (PDT) From: Gordon Tetlow <gordon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/forth loader.4th loader.conf support.4th Message-ID: <200205240228.g4O2SwU56487@freefall.freebsd.org>
index | next in thread | raw e-mail
gordon 2002/05/23 19:28:58 PDT
Modified files:
sys/boot/forth loader.4th loader.conf support.4th
Log:
Add support for reading an additional loader configuration file. By default,
this is called /boot/nextboot.conf. This file is required to have it's first
line be nextboot_enable="YES" for it to be read. Also, this file is
rewritten by the loader to nextboot_enable="NO"<space> after it is read.
This makes it so the file is read exactly once. Finally, the nextboot.conf
is removed shortly after the filesystems are mounted r/w.
Caution should be taken as you can shoot yourself in the foot. This is only
the loader piece. There will be a tool called nextboot(8) that will manage
the nextboot.conf file for you. It is coming shortly.
Reviewed by: dcs
Approved by: jake (mentor)
Revision Changes Path
1.24 +2 -0 src/sys/boot/forth/loader.4th
1.59 +3 -1 src/sys/boot/forth/loader.conf
1.15 +65 -0 src/sys/boot/forth/support.4th
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205240228.g4O2SwU56487>
