|
NAMEkenv —
list or modify the kernel environment
SYNOPSIS
DESCRIPTIONThekenv utility will list all variables in the kernel
environment if invoked without arguments.
If the If the If the If the Variables can be added to the kernel environment using the /boot/loader.conf file, or also statically compiled into the kernel using the statement
in the kernel config file. The file can contain lines of the form name = value # this is a
comment 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. EXAMPLESShow kernel probe hints variable names and filter for the uart device$ kenv -h -N | grep uart hint.uart.0.at hint.uart.0.flags hint.uart.0.irq hint.uart.0.port hint.uart.1.at hint.uart.1.irq hint.uart.1.port Show the value of a specific variable: $ kenv hint.uart.1.at isa Same as above but adding the name of the variable in the report: $ kenv -v hint.uart.1.at hint.uart.1.at="isa" Try to delete a variable and suppress warnings if any: $ kenv -q -u hint.uart.1.at Set the value of the $ kenv verbose_loading="YES" verbose_loading="YES" SEE ALSOkenv(2), config(5), loader.conf(5), loader(8)HISTORYThekenv utility appeared in FreeBSD
4.1.1.
Visit the GSP FreeBSD Man Page Interface. |