From owner-cvs-all Thu May 23 19:29: 2 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B709937B401; Thu, 23 May 2002 19:28:58 -0700 (PDT) Received: (from gordon@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4O2SwU56487; Thu, 23 May 2002 19:28:58 -0700 (PDT) (envelope-from gordon) Message-Id: <200205240228.g4O2SwU56487@freefall.freebsd.org> From: Gordon Tetlow Date: Thu, 23 May 2002 19:28:58 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/forth loader.4th loader.conf support.4th X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" 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