mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 17:54:52 +00:00
Update boot and boot-conf descriptions to reflect new and old changes.
Add a warning in loader(8) that boot might be changed by loader.4th.
This commit is contained in:
parent
80a1a63ef5
commit
869e9b2096
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65622
|
@ -151,6 +151,11 @@ if necessary.
|
|||
Any flags or arguments are passed to the kernel, but they
|
||||
must precede the kernel name, if a kernel name is provided.
|
||||
.Pp
|
||||
.Em WARNING:
|
||||
The behavior of this builtin is changed if
|
||||
.Xr loader.4th 8
|
||||
is loaded.
|
||||
.Pp
|
||||
.It Ic echo Xo
|
||||
.Op Fl n
|
||||
.Op Aq message
|
||||
|
|
|
@ -64,13 +64,28 @@ This line is present on the default
|
|||
file, so it isn't needed (and should not be re-issued) in a normal setup.
|
||||
.Pp
|
||||
The commands provided by it are:
|
||||
.Bl -tag -width disable-module_module -offset indent
|
||||
.It Ic boot-conf
|
||||
.Bl -tag -width disable-module_module -compact -offset indent
|
||||
.It Ic boot
|
||||
.It Ic boot Ar kernelname Op Cm ...
|
||||
.It Ic boot Ar directory Op Cm ...
|
||||
.It Ic boot Fl flag Cm ...
|
||||
Boot as specified by the
|
||||
.Xr loader.conf 5
|
||||
files read. It uses
|
||||
files read.
|
||||
.Pp
|
||||
Depending on the arguments passed, it can override boot flags and
|
||||
either the kernel name or the search path for kernel and modules.
|
||||
.Pp
|
||||
.It Ic boot-conf
|
||||
.It Ic boot-conf Ar kernelname Op Cm ...
|
||||
.It Ic boot-conf Ar directory Op Cm ...
|
||||
.It Ic boot-conf Fl flag Cm ...
|
||||
Works like
|
||||
.Ic boot
|
||||
described above, but instead of booting immediately, uses
|
||||
.Ic autoboot ,
|
||||
so it can be stopped.
|
||||
.Pp
|
||||
.It Ic start
|
||||
Reads
|
||||
.Pa /boot/defaults/loader.conf ,
|
||||
|
@ -85,6 +100,7 @@ command (see
|
|||
.Xr loader 8 ),
|
||||
so it can be stopped for further interaction with
|
||||
.Xr loader 8 .
|
||||
.Pp
|
||||
.It Ic initialize
|
||||
Initialize the supporting library so commands can be used without
|
||||
executing
|
||||
|
@ -97,29 +113,36 @@ and all other
|
|||
.Xr loader.conf 5
|
||||
files specified in it. Returns a flag on the stack to indicate
|
||||
if any configuration file was succesfully loaded.
|
||||
.Pp
|
||||
.It Ic read-conf Ar filename
|
||||
Reads and processes a
|
||||
.Xr loader.conf 5
|
||||
file. Does not proceeds to boot.
|
||||
.Pp
|
||||
.It Ic enable-module Ar module
|
||||
Enables the loading of
|
||||
.Ar module .
|
||||
.Pp
|
||||
.It Ic disable-module Ar module
|
||||
Disables the loading of
|
||||
.Ar module .
|
||||
.Pp
|
||||
.It Ic toggle-module Ar module
|
||||
Toggles the loading of
|
||||
.Ar module
|
||||
on and off.
|
||||
.Pp
|
||||
.It Ic show-module Ar module
|
||||
Shows the information gathered in the
|
||||
.Xr loader.conf 5
|
||||
files about the module
|
||||
.Ar module .
|
||||
.Pp
|
||||
.It Ic retry
|
||||
Used inside
|
||||
.Xr loader.conf 5
|
||||
files to specify the action after a module loading fails.
|
||||
.Pp
|
||||
.It Ic ignore
|
||||
Used inside
|
||||
.Xr loader.conf 5
|
||||
|
|
Loading…
Reference in a new issue