|LOADER.4TH(7)||Standards, Environments, and Macros||LOADER.4TH(7)|
loader.conf processing tools
The file that goes by the name of
loader.4th is a set of commands designed to
manipulate loader.conf(5) files.
The default /boot/loader.rc includes
loader.4th and uses one of its commands to
automatically read and process the standard
loader.conf(5) files. Other
commands exists to help the user specify alternate configurations.
The commands of
loader.4th by themselves
are not enough for most uses. Please refer to the examples below for the
most common situations, and to
loader(7) for additional commands.
Before using any of the commands provided in
loader.4th, it must be included through the
This line is present in the default /boot/loader.rc file, so it is not needed (and should not be re-issued) in a normal setup.
The commands provided by it are:
Depending on the arguments passed, it can override boot flags and either the kernel name or the search path for kernel and modules.
bootdescribed above, but instead of booting immediately, uses
autoboot, so it can be stopped.
autobootcommands or simply exit (provided autoboot_delay is not set to NO) to boot the system.
startis the command used in the default /boot/loader.rc file (see loader(7)).
start, it reads /boot/defaults/loader.conf and all other loader.conf(5) files specified in it (but does not load kernel or modules). Returns a flag on the stack to indicate if any configuration files were successfully loaded.
try-includefile [file ...]
include /boot/forth/loader.4th start
Read an additional configuration file and then proceed to boot:
unload read-conf /boot/special.conf boot-conf
|April 22, 2017||OmniOS|