From 13b5a755eceb2d1e6ed99401b3edb606acfe258c Mon Sep 17 00:00:00 2001 From: Scott Long Date: Sat, 7 Dec 2002 15:34:23 +0000 Subject: [PATCH] Flesh out the section on device hints a bit more and add explicit text on adding hints from the boot loader. Reviewed by: trhodes --- .../books/handbook/boot/chapter.sgml | 37 ++++++++++++------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/boot/chapter.sgml b/en_US.ISO8859-1/books/handbook/boot/chapter.sgml index e648206b99..6536a464f1 100644 --- a/en_US.ISO8859-1/books/handbook/boot/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/boot/chapter.sgml @@ -582,27 +582,38 @@ boot: Device Hints + This is a FreeBSD 5.0 and later feature which does not + exist in earlier versions. + During initial system startup, the boot &man.loader.8; will read the &man.device.hints.5; file. This file stores kernel boot information - known as variables, sometimes referred to as device hints. + known as variables, sometimes referred to as device hints. + These device hints are used by device drivers for device + configuration. - This is a FreeBSD 5.0 and later feature which does not exist in earlier - versions. + Device hints may also be specified at the + Stage 3 boot loader prompt. Variables can be added using + set, removed with unset, and viewed + with the show commands. Variables set in the + device.hints file can be overridden here also. Device hints entered at + the boot loader are not permanent and will be forgotten on the next + reboot. - Setup of this file is one variable per line, using the standard hash - # as comment markers. After system initialization, new - variables can be added using set, removed with - unset, and viewed with the show - commands. Using the &man.kenv.1; command, you can dump all of these - variables. + Once the system is booted, the &man.kenv.1; command can be used to + dump all of the variables. - These device hints are used by device drivers for device - control. Syntax works as follows: + The syntax for the device.hints file is one variable per line, using + the standard hash # as comment markers. Lines are + constructed as follows: hint.driver.unit.keyword="value" - where driver is the device driver, unit is the unit number and keyword - is the hint keyword. The keyword may consist of the following options: + The syntax for the Stage 3 boot loader is: + set hint.driver.unit.keyword=value + + driver is the device driver name, unit + is the device driver unit number, and keyword is the hint + keyword. The keyword may consist of the following options: