diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-05-17 21:55:01 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-05-17 21:55:01 +0000 |
commit | c6cb3aa2f176d65a5ebe77e7da82e20946188a98 (patch) | |
tree | 3167e42f874b5784307f02acc61a0570f31ccb38 /chapter07 | |
parent | 01b2724c70a6addd4e2190649c14a79be3a85090 (diff) |
HEAD: Retagged the Contents of ... sections.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3621 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r-- | chapter07/bootscripts.xml | 160 |
1 files changed, 119 insertions, 41 deletions
diff --git a/chapter07/bootscripts.xml b/chapter07/bootscripts.xml index 86c74e051..6982e698d 100644 --- a/chapter07/bootscripts.xml +++ b/chapter07/bootscripts.xml @@ -34,98 +34,176 @@ </sect2> -<sect2 id="contents-bootscripts"><title>Contents of LFS-bootscripts</title> - -<para><emphasis>Installed scripts</emphasis>: checkfs, cleanfs, -console, -functions, halt, ifdown, ifup, -localnet, mountfs, mountkernfs, network, rc, -reboot, sendsignals, setclock, static, swap, sysklogd and template</para> - -</sect2> +<sect2 id="contents-bootscripts" role="content"><title>Contents of LFS-bootscripts</title> +<segmentedlist> +<segtitle>Installed scripts</segtitle> +<seglistitem><seg>checkfs, cleanfs, console, functions, halt, ifdown, ifup, +localnet, mountfs, mountkernfs, network, rc, reboot, sendsignals, setclock, static, +swap, sysklogd and template</seg></seglistitem> +</segmentedlist> -<sect2><title>Short descriptions</title> +<variablelist><title>Short descriptions</title> +<varlistentry> +<term id="checkfs-bootscripts"><command>checkfs</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts checkfs-bootscripts"><primary sortas="d-checkfs">checkfs</primary></indexterm> -<para id="checkfs-bootscripts">The <command>checkfs</command> script checks the file systems just -before they are mounted (with the exception of journal and network based -file systems).</para> - +<para>checks the file systems just before they are mounted (with the exception of journal +and network based file systems).</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="cleanfs-bootscripts"><command>cleanfs</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts cleanfs-bootscripts"><primary sortas="d-cleanfs">cleanfs</primary></indexterm> -<para id="cleanfs-bootscripts">The <command>cleanfs</command> script removes files that shouldn't be +<para>removes files that shouldn't be preserved between reboots, such as those in <filename>/var/run/</filename> and <filename>/var/lock/</filename>. It re-creates <filename>/var/run/utmp</filename> and removes the possibly present <filename>/etc/nologin</filename>, <filename>/fastboot</filename> and <filename>/forcefsck</filename> files.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="console-bootscripts"><command>console</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts console-bootscripts"><primary sortas="d-console">console</primary></indexterm> -<para id="console-bootscripts">The <command>console</command> script -loads the keymap table you -specified as proper for your keyboard layout. +<para>loads the keymap table you specified as proper for your keyboard layout. It also sets the screen font.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="functions-bootscripts"><command>functions</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts functions-bootscripts"><primary sortas="d-functions">functions</primary></indexterm> -<para id="functions-bootscripts">The <command>functions</command> script contains functions shared among +<para>contains functions shared among different scripts, such as error and status checking.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="halt-bootscripts"><command>halt</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts halt-bootscripts"><primary sortas="d-halt">halt</primary></indexterm> -<para id="halt-bootscripts">The <command>halt</command> script halts the system.</para> +<para>halts the system.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="ifdown-bootscripts"><command>ifdown</command> and <command>ifup</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts ifdown-bootscripts"><primary sortas="d-ifdown">ifdown</primary></indexterm> -<para id="ifdown-bootscripts">The <command>ifdown</command> and <command>ifup</command> scripts assist -the network script with network devices.</para> +<para>assist the network script with network devices.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="localnet-bootscripts"><command>localnet</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts localnet-bootscripts"><primary sortas="d-localnet">localnet</primary></indexterm> -<para id="localnet-bootscripts">The <command>localnet</command> script sets up the system's hostname and -local loopback device.</para> +<para>sets up the system's hostname and local loopback device.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="mountfs-bootscripts"><command>mountfs</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts mountfs-bootscripts"><primary sortas="d-mountfs">mountfs</primary></indexterm> -<para id="mountfs-bootscripts">The <command>mountfs</command> script mounts all file systems that +<para>mounts all file systems that aren't marked <emphasis>noauto</emphasis> or aren't network based.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="mountkernfs-bootscripts"><command>mountkernfs</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts mountkernfs-bootscripts"><primary sortas="d-mountkernfs">mountkernfs</primary></indexterm> -<para id="mountkernfs-bootscripts">The <command>mountkernfs</command> script is used to mount -kernel-provided file systems, such as /proc.</para> +<para>is used to mount kernel-provided file systems, such as /proc.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="network-bootscripts"><command>network</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts network-bootscripts"><primary sortas="d-network">network</primary></indexterm> -<para id="network-bootscripts">The <command>network</command> script sets up network interfaces, such +<para>sets up network interfaces, such as network cards, and sets up the default gateway where applicable.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="rc-bootscripts"><command>rc</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts rc-bootscripts"><primary sortas="d-rc">rc</primary></indexterm> -<para id="rc-bootscripts">The <command>rc</command> script is the master run-level control script. +<para>is the master run-level control script. It is responsible for running all the other scripts one-by-one, in a sequence determined by the name of the symbolic links being processed.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="reboot-bootscripts"><command>reboot</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts reboot-bootscripts"><primary sortas="d-reboot">reboot</primary></indexterm> -<para id="reboot-bootscripts">The <command>reboot</command> script reboots the system.</para> +<para>reboots the system.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="sendsignals-bootscripts"><command>sendsignals</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts sendsignals-bootscripts"><primary sortas="d-sendsignals">sendsignals</primary></indexterm> -<para id="sendsignals-bootscripts">The <command>sendsignals</command> script makes sure every process is -terminated before the system reboots or halts.</para> +<para>makes sure every process is terminated before the system reboots or halts.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="setclock-bootscripts"><command>setclock</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts setclock-bootscripts"><primary sortas="d-setclock">setclock</primary></indexterm> -<para id="setclock-bootscripts">The <command>setclock</command> script resets the kernel clock to +<para>resets the kernel clock to localtime in case the hardware clock isn't set to GMT time.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="static-bootscripts"><command>static</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts static-bootscripts"><primary sortas="d-static">static</primary></indexterm> -<para id="static-bootscripts">The <command>static</command> script provides the functionality needed +<para>provides the functionality needed to assign a static IP address to a network interface.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="swap-bootscripts"><command>swap</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts swap-bootscripts"><primary sortas="d-swap">swap</primary></indexterm> -<para id="swap-bootscripts">The <command>swap</command> script enables and disables swap files and -partitions.</para> +<para>enables and disables swap files and partitions.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="sysklogd-bootscripts"><command>sysklogd</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts sysklogd-bootscripts"><primary sortas="d-sysklogd">sysklogd</primary></indexterm> -<para id="sysklogd-bootscripts">The <command>sysklogd</command> script starts and stops the system and -kernel log daemons.</para> +<para>starts and stops the system and kernel log daemons.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="template-bootscripts"><command>template</command></term> +<listitem> <indexterm zone="ch-scripts-bootscripts template-bootscripts"><primary sortas="d-template">template</primary></indexterm> -<para id="template-bootscripts">The <command>template</command> script is a template you can use to +<para>is a template you can use to create your own bootscripts for your other daemons.</para> +</listitem> +</varlistentry> +</variablelist> </sect2> - - </sect1> |