source: chapter07/bootscripts.xml@ c66cbd7

6.1 6.1.1
Last change on this file since c66cbd7 was c66cbd7, checked in by Matthew Burgess <matthew@…>, 19 years ago

More chapter 7 typo and markup fixes (merged from trunk r6026

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

  • Property mode set to 100644
File size: 8.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="ch-scripts-bootscripts" role="wrap">
7<title>LFS-Bootscripts-&lfs-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>&dependencies;</segtitle>
23<seglistitem><seg>Bash and 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<sect2 id="contents-bootscripts" role="content"><title>Contents of LFS-bootscripts</title>
37
38<segmentedlist>
39<segtitle>Installed scripts</segtitle>
40<seglistitem><seg>checkfs, cleanfs, console, functions, halt, hotplug, ifdown, ifup,
41localnet, mountfs, mountkernfs, network, rc, reboot, sendsignals, setclock, static,
42swap, sysklogd, template, and udev</seg></seglistitem>
43</segmentedlist>
44
45<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
46<?dbfo list-presentation="list"?>
47<?dbhtml list-presentation="table"?>
48
49<varlistentry id="checkfs-bootscripts">
50<term><command>checkfs</command></term>
51<listitem>
52<para>Checks the file systems before they are mounted (with the exception of journal
53and network based file systems)</para>
54<indexterm zone="ch-scripts-bootscripts checkfs-bootscripts"><primary sortas="d-checkfs">checkfs</primary></indexterm>
55</listitem>
56</varlistentry>
57
58<varlistentry id="cleanfs-bootscripts">
59<term><command>cleanfs</command></term>
60<listitem>
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<indexterm zone="ch-scripts-bootscripts cleanfs-bootscripts"><primary sortas="d-cleanfs">cleanfs</primary></indexterm>
67</listitem>
68</varlistentry>
69
70<varlistentry id="console-bootscripts">
71<term><command>console</command></term>
72<listitem>
73<para>Loads the keymap table specified as proper for the keyboard
74layout; it also sets the screen font</para>
75<indexterm zone="ch-scripts-bootscripts console-bootscripts"><primary sortas="d-console">console</primary></indexterm>
76</listitem>
77</varlistentry>
78
79<varlistentry id="functions-bootscripts">
80<term><command>functions</command></term>
81<listitem>
82<para>Contains functions shared among different scripts, such as error
83and status checking</para>
84<indexterm zone="ch-scripts-bootscripts functions-bootscripts"><primary sortas="d-functions">functions</primary></indexterm>
85</listitem>
86</varlistentry>
87
88<varlistentry id="halt-bootscripts">
89<term><command>halt</command></term>
90<listitem>
91<para>Halts the system</para>
92<indexterm zone="ch-scripts-bootscripts halt-bootscripts"><primary sortas="d-halt">halt</primary></indexterm>
93</listitem>
94</varlistentry>
95
96<varlistentry id="hotplug-bootscripts">
97<term><command>hotplug</command></term>
98<listitem>
99<para>Load modules for system devices</para>
100<indexterm zone="ch-scripts-bootscripts hotplug-bootscripts"><primary sortas="d-hotplug">hotplug</primary></indexterm>
101</listitem>
102</varlistentry>
103
104<varlistentry id="ifdown-bootscripts">
105<term><command>ifdown</command></term>
106<listitem>
107<para>Assists the network script with network devices</para>
108<indexterm zone="ch-scripts-bootscripts ifdown-bootscripts"><primary sortas="d-ifdown">ifdown</primary></indexterm>
109</listitem>
110</varlistentry>
111
112<varlistentry id="ifup-bootscripts">
113<term><command>ifup</command></term>
114<listitem>
115<para>Assists the network script with network devices</para>
116<indexterm zone="ch-scripts-bootscripts ifup-bootscripts"><primary sortas="d-ifup">ifup</primary></indexterm>
117</listitem>
118</varlistentry>
119
120<varlistentry id="localnet-bootscripts">
121<term><command>localnet</command></term>
122<listitem>
123<para>Sets up the system's hostname and local loopback device</para>
124<indexterm zone="ch-scripts-bootscripts localnet-bootscripts"><primary sortas="d-localnet">localnet</primary></indexterm>
125</listitem>
126</varlistentry>
127
128<varlistentry id="mountfs-bootscripts">
129<term><command>mountfs</command></term>
130<listitem>
131<para>Mounts all file systems, except ones that are marked
132<emphasis>noauto</emphasis> or are network based</para>
133<indexterm zone="ch-scripts-bootscripts mountfs-bootscripts"><primary sortas="d-mountfs">mountfs</primary></indexterm>
134</listitem>
135</varlistentry>
136
137<varlistentry id="mountkernfs-bootscripts">
138<term><command>mountkernfs</command></term>
139<listitem>
140<para>Is used to mount kernel-provided file systems, such as
141<systemitem class="filesystem">proc</systemitem></para>
142<indexterm zone="ch-scripts-bootscripts mountkernfs-bootscripts"><primary sortas="d-mountkernfs">mountkernfs</primary></indexterm>
143</listitem>
144</varlistentry>
145
146<varlistentry id="network-bootscripts">
147<term><command>network</command></term>
148<listitem>
149<para>Sets up network interfaces, such as network cards, and sets up
150the default gateway (where applicable)</para>
151<indexterm zone="ch-scripts-bootscripts network-bootscripts"><primary sortas="d-network">network</primary></indexterm>
152</listitem>
153</varlistentry>
154
155<varlistentry id="rc-bootscripts">
156<term><command>rc</command></term>
157<listitem>
158<para>The master run-level control script; it is responsible for
159running all other scripts one-by-one, in a sequence determined by
160the name of the symbolic links being processed</para>
161<indexterm zone="ch-scripts-bootscripts rc-bootscripts"><primary sortas="d-rc">rc</primary></indexterm>
162</listitem>
163</varlistentry>
164
165<varlistentry id="reboot-bootscripts">
166<term><command>reboot</command></term>
167<listitem>
168<para>Reboots the system</para>
169<indexterm zone="ch-scripts-bootscripts reboot-bootscripts"><primary sortas="d-reboot">reboot</primary></indexterm>
170</listitem>
171</varlistentry>
172
173<varlistentry id="sendsignals-bootscripts">
174<term><command>sendsignals</command></term>
175<listitem>
176<para>Makes sure every process is terminated before the system reboots
177or halts</para>
178<indexterm zone="ch-scripts-bootscripts sendsignals-bootscripts"><primary sortas="d-sendsignals">sendsignals</primary></indexterm>
179</listitem>
180</varlistentry>
181
182<varlistentry id="setclock-bootscripts">
183<term><command>setclock</command></term>
184<listitem>
185<para>Resets the kernel clock to local time in case the hardware clock
186is not set to UTC time</para>
187<indexterm zone="ch-scripts-bootscripts setclock-bootscripts"><primary sortas="d-setclock">setclock</primary></indexterm>
188</listitem>
189</varlistentry>
190
191<varlistentry id="static-bootscripts">
192<term><command>static</command></term>
193<listitem>
194<para>Provides the functionality needed to assign a static Internet
195Protocol (IP) address to a network interface</para>
196<indexterm zone="ch-scripts-bootscripts static-bootscripts"><primary sortas="d-static">static</primary></indexterm>
197</listitem>
198</varlistentry>
199
200<varlistentry id="swap-bootscripts">
201<term><command>swap</command></term>
202<listitem>
203<para>Enables and disables swap files and partitions</para>
204<indexterm zone="ch-scripts-bootscripts swap-bootscripts"><primary sortas="d-swap">swap</primary></indexterm>
205</listitem>
206</varlistentry>
207
208<varlistentry id="sysklogd-bootscripts">
209<term><command>sysklogd</command></term>
210<listitem>
211<para>Starts and stops the system and kernel log daemons</para>
212<indexterm zone="ch-scripts-bootscripts sysklogd-bootscripts"><primary sortas="d-sysklogd">sysklogd</primary></indexterm>
213</listitem>
214</varlistentry>
215
216<varlistentry id="template-bootscripts">
217<term><command>template</command></term>
218<listitem>
219<para>A template to create custom bootscripts for other
220daemons</para>
221<indexterm zone="ch-scripts-bootscripts template-bootscripts"><primary sortas="d-template">template</primary></indexterm>
222</listitem>
223</varlistentry>
224
225<varlistentry id="udev-bootscripts">
226<term><command>udev</command></term>
227<listitem>
228<para>Sets up udev and create the device nodes in <filename
229class="directory">/dev</filename></para>
230<indexterm zone="ch-scripts-bootscripts udev-bootscripts"><primary sortas="d-udev">udev</primary></indexterm>
231</listitem>
232</varlistentry>
233</variablelist>
234
235</sect2>
236
237</sect1>
238
Note: See TracBrowser for help on using the repository browser.