summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2016-02-21 18:58:05 +0000
committerian <ian@FreeBSD.org>2016-02-21 18:58:05 +0000
commit6683c94ec1440b11af4eeaa54cfdbeae7331377a (patch)
tree9c9d522367dc197caa120e956f4e505759539840
parentf523bd6c78181527b21a37f4dc5c51e0517bf523 (diff)
downloadFreeBSD-src-6683c94ec1440b11af4eeaa54cfdbeae7331377a.zip
FreeBSD-src-6683c94ec1440b11af4eeaa54cfdbeae7331377a.tar.gz
Document the ability to override compiled-in env and hints using variables
in the bootloader-provided env.
-rw-r--r--usr.sbin/config/config.59
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/config/config.5 b/usr.sbin/config/config.5
index dfc9fc8..e0e92b8 100644
--- a/usr.sbin/config/config.5
+++ b/usr.sbin/config/config.5
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 3, 2005
+.Dd February 21, 2016
.Dt CONFIG 5
.Os
.Sh NAME
@@ -118,7 +118,8 @@ The kernel normally uses an environment prepared for it at boot time
by
.Xr loader 8 .
This directive makes the kernel ignore the boot environment and use
-the compiled-in environment instead.
+the compiled-in environment instead, unless the boot environment contains
+.Va static_env.disabled=1 .
.Pp
This directive is useful for setting kernel tunables in
embedded environments that do not start from
@@ -141,7 +142,9 @@ time (see
.Xr device.hints 5 ) .
This directive configures the kernel to use the static device configuration
listed in
-.Ar filename .
+.Ar filename ,
+unless the boot environment contains
+.Va static_hints.disabled=1 .
The file
.Ar filename
must conform to the syntax specified by
OpenPOWER on IntegriCloud