source: chapter07/bootscripts.xml@ dbc195c

6.0
Last change on this file since dbc195c was 5ba3d1d, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Completed global edits for upcoming 6.0 release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4001 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 8.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-scripts-bootscripts" xreflabel="Bootscripts" role="wrap">
7<title>LFS-Bootscripts-&bootscripts-version;</title>
8<?dbhtml filename="bootscripts.html"?>
9
10<indexterm zone="ch-scripts-bootscripts"><primary sortas="a-Bootscripts">Bootscripts</primary></indexterm>
11
12<sect2 role="package"><title/>
13<para>The LFS-Bootscripts package contains a set of bootscripts.</para>
14
15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
18<seglistitem><seg>0.1 SBU</seg><seg>0.3 MB</seg></seglistitem>
19</segmentedlist>
20
21<segmentedlist>
22<segtitle>LFS-Bootscripts installation depends on</segtitle>
23<seglistitem><seg>Bash, Coreutils</seg></seglistitem>
24</segmentedlist>
25</sect2>
26
27<sect2 role="installation">
28<title>Installation of LFS-Bootscripts</title>
29
30<para>Install the package:</para>
31
32<screen><userinput>make install</userinput></screen>
33
34</sect2>
35
36
37<sect2 id="contents-bootscripts" role="content"><title>Contents of LFS-bootscripts</title>
38
39<segmentedlist>
40<segtitle>Installed scripts</segtitle>
41<seglistitem><seg>checkfs, cleanfs, console, functions, halt, ifdown, ifup,
42localnet, mountfs, mountkernfs, network, rc, reboot, sendsignals, setclock, static,
43swap, sysklogd, template and udev</seg></seglistitem>
44</segmentedlist>
45
46<variablelist><title>Short descriptions</title>
47
48<varlistentry id="checkfs-bootscripts">
49<term><command>checkfs</command></term>
50<listitem>
51<indexterm zone="ch-scripts-bootscripts checkfs-bootscripts"><primary sortas="d-checkfs">checkfs</primary></indexterm>
52<para>checks the file systems before they are mounted (with the exception of journal
53and network based file systems).</para>
54</listitem>
55</varlistentry>
56
57<varlistentry id="cleanfs-bootscripts">
58<term><command>cleanfs</command></term>
59<listitem>
60<indexterm zone="ch-scripts-bootscripts cleanfs-bootscripts"><primary sortas="d-cleanfs">cleanfs</primary></indexterm>
61<para>removes files that should not be
62preserved between reboots, such as those in <filename class="directory">/var/run/</filename> and
63<filename class="directory">/var/lock/</filename>. It re-creates <filename>/var/run/utmp</filename>
64and removes the possibly present <filename>/etc/nologin</filename>,
65<filename>/fastboot</filename> and <filename>/forcefsck</filename> files.</para>
66</listitem>
67</varlistentry>
68
69<varlistentry id="console-bootscripts">
70<term><command>console</command></term>
71<listitem>
72<indexterm zone="ch-scripts-bootscripts console-bootscripts"><primary sortas="d-console">console</primary></indexterm>
73<para>loads the keymap table you specified as proper for the keyboard
74layout. It also sets the screen font.</para>
75</listitem>
76</varlistentry>
77
78<varlistentry id="functions-bootscripts">
79<term><command>functions</command></term>
80<listitem>
81<indexterm zone="ch-scripts-bootscripts functions-bootscripts"><primary sortas="d-functions">functions</primary></indexterm>
82<para>contains functions shared among different scripts, such as error
83and status checking.</para>
84</listitem>
85</varlistentry>
86
87<varlistentry id="halt-bootscripts">
88<term><command>halt</command></term>
89<listitem>
90<indexterm zone="ch-scripts-bootscripts halt-bootscripts"><primary sortas="d-halt">halt</primary></indexterm>
91<para>halts the system.</para>
92</listitem>
93</varlistentry>
94
95<varlistentry id="ifdown-bootscripts">
96<term><command>ifdown</command></term>
97<listitem>
98<indexterm zone="ch-scripts-bootscripts ifdown-bootscripts"><primary sortas="d-ifdown">ifdown</primary></indexterm>
99<para>assist the network script with network devices.</para>
100</listitem>
101</varlistentry>
102
103<varlistentry id="ifup-bootscripts">
104<term><command>ifup</command></term>
105<listitem>
106<indexterm zone="ch-scripts-bootscripts ifup-bootscripts"><primary sortas="d-ifup">ifup</primary></indexterm>
107<para>assist the network script with network devices.</para>
108</listitem>
109</varlistentry>
110
111<varlistentry id="localnet-bootscripts">
112<term><command>localnet</command></term>
113<listitem>
114<indexterm zone="ch-scripts-bootscripts localnet-bootscripts"><primary sortas="d-localnet">localnet</primary></indexterm>
115<para>sets up the system's hostname and local loopback device.</para>
116</listitem>
117</varlistentry>
118
119<varlistentry id="mountfs-bootscripts">
120<term><command>mountfs</command></term>
121<listitem>
122<indexterm zone="ch-scripts-bootscripts mountfs-bootscripts"><primary sortas="d-mountfs">mountfs</primary></indexterm>
123<para>mounts all file systems, except ones that are marked
124<emphasis>noauto</emphasis> or are network based.</para>
125</listitem>
126</varlistentry>
127
128<varlistentry id="mountkernfs-bootscripts">
129<term><command>mountkernfs</command></term>
130<listitem>
131<indexterm zone="ch-scripts-bootscripts mountkernfs-bootscripts"><primary sortas="d-mountkernfs">mountkernfs</primary></indexterm>
132<para>is used to mount kernel-provided file systems, such as
133<systemitem class="filesystem">proc</systemitem>.</para>
134</listitem>
135</varlistentry>
136
137<varlistentry id="network-bootscripts">
138<term><command>network</command></term>
139<listitem>
140<indexterm zone="ch-scripts-bootscripts network-bootscripts"><primary sortas="d-network">network</primary></indexterm>
141<para>sets up network interfaces, such as network cards, and sets up
142the default gateway (where applicable).</para>
143</listitem>
144</varlistentry>
145
146<varlistentry id="rc-bootscripts">
147<term><command>rc</command></term>
148<listitem>
149<indexterm zone="ch-scripts-bootscripts rc-bootscripts"><primary sortas="d-rc">rc</primary></indexterm>
150<para>is the master run-level control script. It is responsible for
151running all the other scripts one-by-one, in a sequence determined by
152the name of the symbolic links being processed.</para>
153</listitem>
154</varlistentry>
155
156<varlistentry id="reboot-bootscripts">
157<term><command>reboot</command></term>
158<listitem>
159<indexterm zone="ch-scripts-bootscripts reboot-bootscripts"><primary sortas="d-reboot">reboot</primary></indexterm>
160<para>reboots the system.</para>
161</listitem>
162</varlistentry>
163
164<varlistentry id="sendsignals-bootscripts">
165<term><command>sendsignals</command></term>
166<listitem>
167<indexterm zone="ch-scripts-bootscripts sendsignals-bootscripts"><primary sortas="d-sendsignals">sendsignals</primary></indexterm>
168<para>makes sure every process is terminated before the system reboots
169or halts.</para>
170</listitem>
171</varlistentry>
172
173<varlistentry id="setclock-bootscripts">
174<term><command>setclock</command></term>
175<listitem>
176<indexterm zone="ch-scripts-bootscripts setclock-bootscripts"><primary sortas="d-setclock">setclock</primary></indexterm>
177<para>resets the kernel clock to localtime in case the hardware clock
178is not set to UTC time.</para>
179</listitem>
180</varlistentry>
181
182<varlistentry id="static-bootscripts">
183<term><command>static</command></term>
184<listitem>
185<indexterm zone="ch-scripts-bootscripts static-bootscripts"><primary sortas="d-static">static</primary></indexterm>
186<para>provides the functionality needed to assign a static IP address
187to a network interface.</para>
188</listitem>
189</varlistentry>
190
191<varlistentry id="swap-bootscripts">
192<term><command>swap</command></term>
193<listitem>
194<indexterm zone="ch-scripts-bootscripts swap-bootscripts"><primary sortas="d-swap">swap</primary></indexterm>
195<para>enables and disables swap files and partitions.</para>
196</listitem>
197</varlistentry>
198
199<varlistentry id="sysklogd-bootscripts">
200<term><command>sysklogd</command></term>
201<listitem>
202<indexterm zone="ch-scripts-bootscripts sysklogd-bootscripts"><primary sortas="d-sysklogd">sysklogd</primary></indexterm>
203<para>starts and stops the system and kernel log daemons.</para>
204</listitem>
205</varlistentry>
206
207<varlistentry id="template-bootscripts">
208<term><command>template</command></term>
209<listitem>
210<indexterm zone="ch-scripts-bootscripts template-bootscripts"><primary sortas="d-template">template</primary></indexterm>
211<para>is a template to create custom bootscripts for other
212daemons.</para>
213</listitem>
214</varlistentry>
215
216<varlistentry id="udev-bootscripts">
217<term><command>udev</command></term>
218<listitem>
219<indexterm zone="ch-scripts-bootscripts udev-bootscripts"><primary sortas="d-udev">udev</primary></indexterm>
220<para>sets up udev and create the devices nodes in <filename
221class="directory">/dev</filename></para>
222</listitem>
223</varlistentry>
224</variablelist>
225
226</sect2>
227
228</sect1>
229
Note: See TracBrowser for help on using the repository browser.