Changeset 350ab24 for BOOK/boot/common/boot-scripts.xml
- Timestamp:
- Apr 28, 2014, 8:56:46 PM (11 years ago)
- Parents:
- 5c8e74d (diff), 31cfd067 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/boot-scripts.xml
r5c8e74d r350ab24 6 6 ]> 7 7 8 <sect1 id="ch-scripts-boot scripts" role="wrap">9 <?dbhtml filename="boot scripts.html"?>10 11 <title>Boot scripts for CLFS &bootscripts-clfs-version;</title>12 13 <indexterm zone="ch-scripts-boot scripts">14 <primary sortas="a-Boot scripts">Bootscripts</primary>8 <sect1 id="ch-scripts-boot-scripts" role="wrap"> 9 <?dbhtml filename="boot-scripts.html"?> 10 11 <title>Boot-scripts for CLFS &boot-scripts-clfs-version;</title> 12 13 <indexterm zone="ch-scripts-boot-scripts"> 14 <primary sortas="a-Boot-scripts">Boot-scripts</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>The Boot scripts package contains a set of scripts to20 <para>The Boot-scripts package contains a set of scripts to 21 21 start/stop the CLFS system at bootup/shutdown.</para> 22 22 … … 24 24 25 25 <sect2 role="installation"> 26 <title>Installation of Bootscripts</title> 27 28 <para os="s1">Update the bootscripts so they can be used in /tools:</para> 29 30 <screen os="s2"><userinput>patch -Np1 -i ../bootscripts-cross-lfs-2.1-pre1-updates-1.patch</userinput></screen> 26 <title>Installation of Boot-scripts</title> 31 27 32 28 <para os="a">Install the package:</para> 33 29 34 <screen os="b"><userinput>make DESTDIR=/tools install- minimal</userinput></screen>30 <screen os="b"><userinput>make DESTDIR=/tools install-boot-scripts</userinput></screen> 35 31 36 32 <para os="c">The <command>setclock</command> script reads the time from the … … 38 34 Semiconductor (CMOS) clock. If the hardware clock is set to UTC, this 39 35 script will convert the hardware clock's time to the local time using 40 the <filename>/ etc/localtime</filename> file (which tells the36 the <filename>/tools/etc/sysconfig/clock</filename> file (which tells the 41 37 <command>hwclock</command> program which timezone the user is in). There 42 38 is no way to detect whether or not the hardware clock is set to UTC, so … … 48 44 you can find out after you have booted the new machine by running the 49 45 <userinput>hwclock --localtime --show</userinput> command, and if 50 necessary editing the <filename>/ etc/sysconfig/clock</filename> script.46 necessary editing the <filename>/tools/etc/sysconfig/clock</filename> file. 51 47 The worst that will happen if you make a wrong guess here is that the 52 48 time displayed will be wrong.</para> … … 66 62 </sect2> 67 63 68 <sect2 id="contents-boot scripts" role="content">69 <title>Contents of Boot scripts</title>64 <sect2 id="contents-boot-scripts" role="content"> 65 <title>Contents of Boot-scripts</title> 70 66 71 67 <segmentedlist> … … 83 79 <?dbhtml list-presentation="table"?> 84 80 85 <varlistentry id="checkfs-boot scripts">81 <varlistentry id="checkfs-boot-scripts"> 86 82 <term><command>checkfs</command></term> 87 83 <listitem> … … 89 85 mounted (with the exception of journal and network based file 90 86 systems)</para> 91 <indexterm zone="ch-scripts-boot scripts checkfs-bootscripts">87 <indexterm zone="ch-scripts-boot-scripts checkfs-boot-scripts"> 92 88 <primary sortas="d-checkfs">checkfs</primary> 93 89 </indexterm> … … 95 91 </varlistentry> 96 92 97 <varlistentry id="cleanfs-boot scripts">93 <varlistentry id="cleanfs-boot-scripts"> 98 94 <term><command>cleanfs</command></term> 99 95 <listitem> … … 104 100 <filename>/etc/nologin</filename>, <filename>/fastboot</filename>, 105 101 and <filename>/forcefsck</filename> files</para> 106 <indexterm zone="ch-scripts-boot scripts cleanfs-bootscripts">102 <indexterm zone="ch-scripts-boot-scripts cleanfs-boot-scripts"> 107 103 <primary sortas="d-cleanfs">cleanfs</primary> 108 104 </indexterm> … … 110 106 </varlistentry> 111 107 112 <varlistentry id="functions-boot scripts">108 <varlistentry id="functions-boot-scripts"> 113 109 <term><command>functions</command></term> 114 110 <listitem> 115 111 <para>Contains common functions, such as error and status checking, 116 that are used by several boot scripts</para>117 <indexterm zone="ch-scripts-boot scripts functions-bootscripts">112 that are used by several boot-scripts</para> 113 <indexterm zone="ch-scripts-boot-scripts functions-boot-scripts"> 118 114 <primary sortas="d-functions">functions</primary> 119 115 </indexterm> … … 121 117 </varlistentry> 122 118 123 <varlistentry id="halt-boot scripts">119 <varlistentry id="halt-boot-scripts"> 124 120 <term><command>halt</command></term> 125 121 <listitem> 126 122 <para>Halts the system</para> 127 <indexterm zone="ch-scripts-boot scripts halt-bootscripts">123 <indexterm zone="ch-scripts-boot-scripts halt-boot-scripts"> 128 124 <primary sortas="d-halt">halt</primary> 129 125 </indexterm> … … 131 127 </varlistentry> 132 128 133 <varlistentry id="localnet-boot scripts">129 <varlistentry id="localnet-boot-scripts"> 134 130 <term><command>localnet</command></term> 135 131 <listitem> 136 132 <para>Sets up the system's hostname and local loopback device</para> 137 <indexterm zone="ch-scripts-boot scripts localnet-bootscripts">133 <indexterm zone="ch-scripts-boot-scripts localnet-boot-scripts"> 138 134 <primary sortas="d-localnet">localnet</primary> 139 135 </indexterm> … … 141 137 </varlistentry> 142 138 143 <varlistentry id="mountfs-boot scripts">139 <varlistentry id="mountfs-boot-scripts"> 144 140 <term><command>mountfs</command></term> 145 141 <listitem> 146 142 <para>Mounts all file systems, except ones that are marked 147 143 <emphasis>noauto</emphasis> or are network based</para> 148 <indexterm zone="ch-scripts-boot scripts mountfs-bootscripts">144 <indexterm zone="ch-scripts-boot-scripts mountfs-boot-scripts"> 149 145 <primary sortas="d-mountfs">mountfs</primary> 150 146 </indexterm> … … 152 148 </varlistentry> 153 149 154 <varlistentry id="mountkernfs-boot scripts">150 <varlistentry id="mountkernfs-boot-scripts"> 155 151 <term><command>mountkernfs</command></term> 156 152 <listitem> 157 153 <para>Mounts virtual kernel file systems, such as 158 154 <systemitem class="filesystem">proc</systemitem></para> 159 <indexterm zone="ch-scripts-boot scripts mountkernfs-bootscripts">155 <indexterm zone="ch-scripts-boot-scripts mountkernfs-boot-scripts"> 160 156 <primary sortas="d-mountkernfs">mountkernfs</primary> 161 157 </indexterm> … … 163 159 </varlistentry> 164 160 165 <varlistentry id="rc-boot scripts">161 <varlistentry id="rc-boot-scripts"> 166 162 <term><command>rc</command></term> 167 163 <listitem> 168 164 <para>The master run-level control script; it is responsible for 169 running all the other boot scripts one-by-one, in a sequence165 running all the other boot-scripts one-by-one, in a sequence 170 166 determined by the name of the symbolic links being processed</para> 171 <indexterm zone="ch-scripts-boot scripts rc-bootscripts">167 <indexterm zone="ch-scripts-boot-scripts rc-boot-scripts"> 172 168 <primary sortas="d-rc">rc</primary> 173 169 </indexterm> … … 175 171 </varlistentry> 176 172 177 <varlistentry id="reboot-boot scripts">173 <varlistentry id="reboot-boot-scripts"> 178 174 <term><command>reboot</command></term> 179 175 <listitem> 180 176 <para>Reboots the system</para> 181 <indexterm zone="ch-scripts-boot scripts reboot-bootscripts">177 <indexterm zone="ch-scripts-boot-scripts reboot-boot-scripts"> 182 178 <primary sortas="d-reboot">reboot</primary> 183 179 </indexterm> … … 185 181 </varlistentry> 186 182 187 <varlistentry id="sendsignals-boot scripts">183 <varlistentry id="sendsignals-boot-scripts"> 188 184 <term><command>sendsignals</command></term> 189 185 <listitem> 190 186 <para>Makes sure every process is terminated before the system reboots 191 187 or halts</para> 192 <indexterm zone="ch-scripts-boot scripts sendsignals-bootscripts">188 <indexterm zone="ch-scripts-boot-scripts sendsignals-boot-scripts"> 193 189 <primary sortas="d-sendsignals">sendsignals</primary> 194 190 </indexterm> … … 196 192 </varlistentry> 197 193 198 <varlistentry id="setclock-boot scripts">194 <varlistentry id="setclock-boot-scripts"> 199 195 <term><command>setclock</command></term> 200 196 <listitem> 201 197 <para>Resets the kernel clock to local time in case the hardware clock 202 198 is not set to UTC time</para> 203 <indexterm zone="ch-scripts-boot scripts setclock-bootscripts">199 <indexterm zone="ch-scripts-boot-scripts setclock-boot-scripts"> 204 200 <primary sortas="d-setclock">setclock</primary> 205 201 </indexterm> … … 207 203 </varlistentry> 208 204 209 <varlistentry id="swap-boot scripts">205 <varlistentry id="swap-boot-scripts"> 210 206 <term><command>swap</command></term> 211 207 <listitem> 212 208 <para>Enables and disables swap files and partitions</para> 213 <indexterm zone="ch-scripts-boot scripts swap-bootscripts">209 <indexterm zone="ch-scripts-boot-scripts swap-boot-scripts"> 214 210 <primary sortas="d-swap">swap</primary> 215 211 </indexterm> … … 217 213 </varlistentry> 218 214 219 <varlistentry id="eudev-boot scripts">215 <varlistentry id="eudev-boot-scripts"> 220 216 <term><command>udev</command></term> 221 217 <listitem> 222 218 <para>Starts and stops the Eudev daemon</para> 223 <indexterm zone="ch-scripts-boot scripts eudev-bootscripts">219 <indexterm zone="ch-scripts-boot-scripts eudev-boot-scripts"> 224 220 <primary sortas="d-eudev">udev</primary> 225 221 </indexterm>
Note:
See TracChangeset
for help on using the changeset viewer.