loader.4th.8 (99975) | loader.4th.8 (101824) |
---|---|
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 99975 2002-07-14 15:21:28Z charnier $ | 25.\" $FreeBSD: head/sys/boot/forth/loader.4th.8 101824 2002-08-13 15:09:33Z ru $ |
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 34The file that goes by the name of 35.Nm 36is a set of commands designed to manipulate 37.Xr loader.conf 5 | 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 34The file that goes by the name of 35.Nm 36is a set of commands designed to manipulate 37.Xr loader.conf 5 |
38files. The default | 38files. 39The default |
39.Pa /boot/loader.rc 40includes 41.Nm 42and uses one of its commands to automatically read and process 43the standard 44.Xr loader.conf 5 | 40.Pa /boot/loader.rc 41includes 42.Nm 43and uses one of its commands to automatically read and process 44the standard 45.Xr loader.conf 5 |
45files. Other commands exists to help the user specify alternate | 46files. 47Other commands exists to help the user specify alternate |
46configurations. 47.Pp 48The commands of 49.Nm | 48configurations. 49.Pp 50The commands of 51.Nm |
50by themselves are not enough for most uses. Please refer to the | 52by themselves are not enough for most uses. 53Please refer to the |
51examples below for the most common situations, and to 52.Xr loader 8 53for additional commands. 54.Pp 55Before using any of the commands provided in | 54examples below for the most common situations, and to 55.Xr loader 8 56for additional commands. 57.Pp 58Before using any of the commands provided in |
56.Nm Ns , | 59.Nm , |
57it must be included 58through the command: 59.Pp 60.Dl include loader.4th 61.Pp 62This line is present in the default 63.Pa /boot/loader.rc 64file, so it isn't needed (and should not be re-issued) in a normal setup. --- 21 unchanged lines hidden (view full) --- 86.Ic autoboot , 87so it can be stopped. 88.Pp 89.It Ic start 90Reads 91.Pa /boot/defaults/loader.conf , 92all other 93.Xr loader.conf 5 | 60it must be included 61through the command: 62.Pp 63.Dl include loader.4th 64.Pp 65This line is present in the default 66.Pa /boot/loader.rc 67file, so it isn't needed (and should not be re-issued) in a normal setup. --- 21 unchanged lines hidden (view full) --- 89.Ic autoboot , 90so it can be stopped. 91.Pp 92.It Ic start 93Reads 94.Pa /boot/defaults/loader.conf , 95all other 96.Xr loader.conf 5 |
94files specified in it, and then proceeds to boot as specified in them. This | 97files specified in it, and then proceeds to boot as specified in them. 98This |
95is the command used in 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 104.It Ic initialize 105Initialize the supporting library so commands can be used without 106executing 107.Ic start | 99is the command used in the default 100.Pa /boot/loader.rc 101file, and it uses the 102.Pa autoboot 103command (see 104.Xr loader 8 ) , 105so it can be stopped for further interaction with 106.Xr loader 8 . 107.Pp 108.It Ic initialize 109Initialize the supporting library so commands can be used without 110executing 111.Ic start |
108first. Like | 112first. 113Like |
109.Ic start , 110reads 111.Pa /boot/defaults/loader.conf 112and all other 113.Xr loader.conf 5 | 114.Ic start , 115reads 116.Pa /boot/defaults/loader.conf 117and all other 118.Xr loader.conf 5 |
114files specified in it. Returns a flag on the stack to indicate | 119files specified in it. 120Returns a flag on the stack to indicate |
115if any configuration file was successfully loaded. 116.Pp 117.It Ic read-conf Ar filename 118Reads and processes a 119.Xr loader.conf 5 | 121if any configuration file was successfully loaded. 122.Pp 123.It Ic read-conf Ar filename 124Reads and processes a 125.Xr loader.conf 5 |
120file. Does not proceed to boot. | 126file. 127Does not proceed to boot. |
121.Pp 122.It Ic enable-module Ar module 123Enables the loading of 124.Ar module . 125.Pp 126.It Ic disable-module Ar module 127Disables the loading of 128.Ar module . --- 87 unchanged lines hidden --- | 128.Pp 129.It Ic enable-module Ar module 130Enables the loading of 131.Ar module . 132.Pp 133.It Ic disable-module Ar module 134Disables the loading of 135.Ar module . --- 87 unchanged lines hidden --- |