sysenv(1)
NAME
sysenv - request system boot parameter
SYNOPSIS
sysenv boot-variable
DESCRIPTION
Sysenv requests the value of a boot variable. For example sysenv memsize
returns the number of kilobytes of "normal" memory. Note that some
parameters have undergone "device translation" from a device name to a
decimal device number.
SEE ALSO
sysenv(2), monitor(8), boot(8).
DIAGNOSTICS
Exit code 0 with the variable's value printed to standard output if the
variable exists in the boot environment, exit code 2 if the variable is
not set, and exit code 1 with an appropriate error message for any kind
of error.
BUGS
Can't be used to list the entire environment.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)