Deleted Added
full compact
loader.4th.8 (52674) loader.4th.8 (65622)
1.\" Copyright (c) 1999 Daniel C. Sobral
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 1999 Daniel C. Sobral
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 8 unchanged lines hidden (view full) ---

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/sys/boot/forth/loader.4th.8 52674 1999-10-30 15:38:20Z phantom $
25.\" $FreeBSD: head/sys/boot/forth/loader.4th.8 65622 2000-09-08 21:39:31Z dcs $
26.\"
27.Dd April 25, 1999
28.Dt LOADER.4TH 8
29.Os
30.Sh NAME
31.Nm loader.4th
32.Nd loader.conf processing tools
33.Sh DESCRIPTION

--- 25 unchanged lines hidden (view full) ---

59.Pp
60.Dl include loader.4th
61.Pp
62This line is present on the default
63.Pa /boot/loader.rc
64file, so it isn't needed (and should not be re-issued) in a normal setup.
65.Pp
66The commands provided by it are:
26.\"
27.Dd April 25, 1999
28.Dt LOADER.4TH 8
29.Os
30.Sh NAME
31.Nm loader.4th
32.Nd loader.conf processing tools
33.Sh DESCRIPTION

--- 25 unchanged lines hidden (view full) ---

59.Pp
60.Dl include loader.4th
61.Pp
62This line is present on the default
63.Pa /boot/loader.rc
64file, so it isn't needed (and should not be re-issued) in a normal setup.
65.Pp
66The commands provided by it are:
67.Bl -tag -width disable-module_module -offset indent
68.It Ic boot-conf
67.Bl -tag -width disable-module_module -compact -offset indent
68.It Ic boot
69.It Ic boot Ar kernelname Op Cm ...
70.It Ic boot Ar directory Op Cm ...
71.It Ic boot Fl flag Cm ...
69Boot as specified by the
70.Xr loader.conf 5
72Boot as specified by the
73.Xr loader.conf 5
71files read. It uses
74files read.
75.Pp
76Depending on the arguments passed, it can override boot flags and
77either the kernel name or the search path for kernel and modules.
78.Pp
79.It Ic boot-conf
80.It Ic boot-conf Ar kernelname Op Cm ...
81.It Ic boot-conf Ar directory Op Cm ...
82.It Ic boot-conf Fl flag Cm ...
83Works like
84.Ic boot
85described above, but instead of booting immediately, uses
72.Ic autoboot ,
73so it can be stopped.
86.Ic autoboot ,
87so it can be stopped.
88.Pp
74.It Ic start
75Reads
76.Pa /boot/defaults/loader.conf ,
77all other
78.Xr loader.conf 5
79files specified in it, and then proceeds to boot as specified in them. This
80is command used on the default
81.Pa /boot/loader.rc
82file, and it uses the
83.Pa autoboot
84command (see
85.Xr loader 8 ),
86so it can be stopped for further interaction with
87.Xr loader 8 .
89.It Ic start
90Reads
91.Pa /boot/defaults/loader.conf ,
92all other
93.Xr loader.conf 5
94files specified in it, and then proceeds to boot as specified in them. This
95is command used on the default
96.Pa /boot/loader.rc
97file, and it uses the
98.Pa autoboot
99command (see
100.Xr loader 8 ),
101so it can be stopped for further interaction with
102.Xr loader 8 .
103.Pp
88.It Ic initialize
89Initialize the supporting library so commands can be used without
90executing
91.Ic start
92first. Like
93.Ic start ,
94reads
95.Pa /boot/defaults/loader.conf
96and all other
97.Xr loader.conf 5
98files specified in it. Returns a flag on the stack to indicate
99if any configuration file was succesfully loaded.
104.It Ic initialize
105Initialize the supporting library so commands can be used without
106executing
107.Ic start
108first. Like
109.Ic start ,
110reads
111.Pa /boot/defaults/loader.conf
112and all other
113.Xr loader.conf 5
114files specified in it. Returns a flag on the stack to indicate
115if any configuration file was succesfully loaded.
116.Pp
100.It Ic read-conf Ar filename
101Reads and processes a
102.Xr loader.conf 5
103file. Does not proceeds to boot.
117.It Ic read-conf Ar filename
118Reads and processes a
119.Xr loader.conf 5
120file. Does not proceeds to boot.
121.Pp
104.It Ic enable-module Ar module
105Enables the loading of
106.Ar module .
122.It Ic enable-module Ar module
123Enables the loading of
124.Ar module .
125.Pp
107.It Ic disable-module Ar module
108Disables the loading of
109.Ar module .
126.It Ic disable-module Ar module
127Disables the loading of
128.Ar module .
129.Pp
110.It Ic toggle-module Ar module
111Toggles the loading of
112.Ar module
113on and off.
130.It Ic toggle-module Ar module
131Toggles the loading of
132.Ar module
133on and off.
134.Pp
114.It Ic show-module Ar module
115Shows the information gathered in the
116.Xr loader.conf 5
117files about the module
118.Ar module .
135.It Ic show-module Ar module
136Shows the information gathered in the
137.Xr loader.conf 5
138files about the module
139.Ar module .
140.Pp
119.It Ic retry
120Used inside
121.Xr loader.conf 5
122files to specify the action after a module loading fails.
141.It Ic retry
142Used inside
143.Xr loader.conf 5
144files to specify the action after a module loading fails.
145.Pp
123.It Ic ignore
124Used inside
125.Xr loader.conf 5
126files to specify the action after a module loading fails.
127.El
128.Sh FILES
129.Bl -tag -width /boot/loader.4th -compact
130.It Pa /boot/loader

--- 61 unchanged lines hidden ---
146.It Ic ignore
147Used inside
148.Xr loader.conf 5
149files to specify the action after a module loading fails.
150.El
151.Sh FILES
152.Bl -tag -width /boot/loader.4th -compact
153.It Pa /boot/loader

--- 61 unchanged lines hidden ---