Changeset View
Changeset View
Standalone View
Standalone View
bin/kenv/kenv.1
Show All 26 Lines | |||||
.Dd June 20, 2021 | .Dd June 20, 2021 | ||||
.Dt KENV 1 | .Dt KENV 1 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm kenv | .Nm kenv | ||||
.Nd list or modify the kernel environment | .Nd list or modify the kernel environment | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl l | s | |||||
.Op Fl hNq | .Op Fl hNq | ||||
.Nm | .Nm | ||||
.Op Fl qv | .Op Fl qv | ||||
.Ar variable Ns Op = Ns Ar value | .Ar variable Ns Op = Ns Ar value | ||||
.Nm | .Nm | ||||
.Op Fl q | .Op Fl q | ||||
.Fl u | .Fl u | ||||
.Ar variable | .Ar variable | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
utility will list all variables in the kernel environment if | utility will list all variables in the kernel environment if | ||||
invoked without arguments. | invoked without arguments. | ||||
.Pp | |||||
If the | |||||
.Fl l | |||||
option is specified, then the static environment provided by | |||||
.Xr loader 8 | |||||
will be listed instead. | |||||
imp: Dump is a terrible word. Does this mean discard or list? I'd suggest replacing the ambiguous… | |||||
Similarly, the | |||||
.Fl s | |||||
option will list the static environment defined by the kernel config. | |||||
Both of the | |||||
.Fl l | |||||
and | |||||
.Fl s | |||||
options are dependent on the kernel being configured to preserve early kernel | |||||
environments. | |||||
The default kernel configuration does not preserve these environments. | |||||
.Pp | |||||
If the | If the | ||||
.Fl h | .Fl h | ||||
option is specified, it will limit the report to kernel probe hints. | option is specified, it will limit the report to kernel probe hints. | ||||
If an optional | If an optional | ||||
.Ar variable | .Ar variable | ||||
name is specified, | name is specified, | ||||
.Nm | .Nm | ||||
will only report that value. | will only report that value. | ||||
▲ Show 20 Lines • Show All 97 Lines • Show Last 20 Lines |
Dump is a terrible word. Does this mean discard or list? I'd suggest replacing the ambiguous term with whichever this is.