Document how kernel environment can be statically compiled in,
and reference a few related manpages. MFC after: 3 days
This commit is contained in:
parent
3ed817f149
commit
f7fc4669a7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187142
@ -67,8 +67,28 @@ If the
|
|||||||
.Fl q
|
.Fl q
|
||||||
option is set, warnings normally printed as a result of being unable to
|
option is set, warnings normally printed as a result of being unable to
|
||||||
perform the requested operation will be suppressed.
|
perform the requested operation will be suppressed.
|
||||||
|
.Pp
|
||||||
|
Variables can be added to the kernel environment using the
|
||||||
|
.Xr /boot/oader.conf
|
||||||
|
file, or also statically compiled into the kernel using the statement
|
||||||
|
.Pp
|
||||||
|
.Dl Ic env Ar filename
|
||||||
|
.Pp
|
||||||
|
in the kernel config file.
|
||||||
|
The file can contain lines of the form
|
||||||
|
.Pp
|
||||||
|
.Dl name = "value" # this is a coment
|
||||||
|
.Pp
|
||||||
|
where whitespace around name and '=', and
|
||||||
|
everything after a '#' character, are ignored. Almost any printable
|
||||||
|
character except '=' is acceptable as part of a name. Quotes
|
||||||
|
are optional and necessary only if the value contains
|
||||||
|
whitespace.
|
||||||
|
.Pp
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr kenv 2 ,
|
.Xr kenv 2 ,
|
||||||
|
.Xr config 5 ,
|
||||||
|
.Xr loader.conf 5 ,
|
||||||
.Xr loader 8
|
.Xr loader 8
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
|
Loading…
Reference in New Issue
Block a user