diff options
Diffstat (limited to 'chapter09/usage.xml')
-rw-r--r-- | chapter09/usage.xml | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/chapter09/usage.xml b/chapter09/usage.xml index d59b38b29..ffb31055d 100644 --- a/chapter09/usage.xml +++ b/chapter09/usage.xml @@ -24,7 +24,7 @@ system to another, so it cannot be assumed that because things worked in one particular Linux distribution, they should work the same in LFS too. LFS has its own way of doing things, but it respects generally accepted standards.</para> - + <para>SysVinit (which will be referred to as <quote>init</quote> from now on) works using a run-levels scheme. There are seven (numbered 0 to 6) run-levels (actually, there are more run-levels, but they are for special cases and are @@ -233,7 +233,7 @@ EOF</userinput></screen> <device> is an absolute path in /dev or /sys such as /dev/sr0 or /sys/class/rtc.</para> - <para>For information on kernel module loading and udev, see + <para>For information on kernel module loading and udev, see <xref linkend="module-loading"/>.</para> </sect2> @@ -535,28 +535,28 @@ EOF</userinput></screen> <sect2 id="ch-config-createfiles"> <title>Creating Files at Boot</title> - + <indexterm zone="ch-config-createfiles"> <primary sortas="d-createfiles">File creation at boot</primary> <secondary>configuring</secondary> </indexterm> - + <para>At times, it is desirable to create files at boot time. For instance, the <filename class="directory">/tmp/.ICE-unix</filename> directory is often needed. This can be done by creating an entry in the <filename>/etc/sysconfig/createfiles</filename> configuration script. - The format of this file is embedded in the comments of the default + The format of this file is embedded in the comments of the default configuration file.</para> </sect2> <sect2 id="ch-config-sysklogd"> <title>Configuring the sysklogd Script</title> - + <indexterm zone="ch-config-sysklogd"> <primary sortas="d-sysklogd">sysklogd</primary> <secondary>configuring</secondary> </indexterm> - + <para>The <filename>sysklogd</filename> script invokes the <command>syslogd</command> program as a part of System V initialization. The <parameter>-m 0</parameter> option turns off the periodic timestamp mark that @@ -574,11 +574,11 @@ EOF</userinput></screen> <sect2 id="ch-config-site"> <title>The rc.site File</title> - + <indexterm zone="ch-config-site"> <primary sortas="a-rc.site">rc.site</primary> </indexterm> - + <para>The optional <filename>/etc/sysconfig/rc.site</filename> file contains settings that are automatically set for each SystemV boot script. It can alternatively set the values specified in the <filename>hostname</filename>, @@ -587,33 +587,33 @@ EOF</userinput></screen> associated variables are present in both these separate files and <filename>rc.site</filename>, the values in the script specific files have precedence. </para> - + <para><filename>rc.site</filename> also contains parameters that can customize other aspects of the boot process. Setting the IPROMPT variable will enable selective running of bootscripts. Other options are described in the file comments. The default version of the file is as follows:</para> - + <!-- Use role to fix a pdf generation problem --> <screen role="auto">&site;</screen> - + <sect3> <title>Customizing the Boot and Shutdown Scripts</title> - + <para>The LFS boot scripts boot and shut down a system in a fairly efficient manner, but there are a few tweaks that you can make in the rc.site file to improve speed even more and to adjust messages according to your preferences. To do this, adjust the settings in the <filename>/etc/sysconfig/rc.site</filename> file above.</para> - + <itemizedlist> - + <listitem><para>During the boot script <filename>udev</filename>, there is a call to <command>udev settle</command> that requires some time to complete. This time may or may not be required depending on devices present in the system. If you only have simple partitions and a single ethernet card, the boot process will probably not need to wait for this command. To skip it, set the variable OMIT_UDEV_SETTLE=y.</para></listitem> - + <listitem><para>The boot script <filename>udev_retry</filename> also runs <command>udev settle</command> by default. This command is only needed by default if the <filename class='directory'>/var</filename> directory is @@ -622,12 +622,12 @@ EOF</userinput></screen> also need to wait for udev to complete, but in many installations it is not needed. Skip the command by setting the variable OMIT_UDEV_RETRY_SETTLE=y. </para></listitem> - + <listitem><para>By default, the file system checks are silent. This can appear to be a delay during the bootup process. To turn on the <command>fsck</command> output, set the variable VERBOSE_FSCK=y. </para></listitem> - + <listitem><para>When rebooting, you may want to skip the filesystem check, <command>fsck</command>, completely. To do this, either create the file <filename>/fastboot</filename> or reboot the system with the command @@ -636,17 +636,17 @@ EOF</userinput></screen> <filename>/forcefsck</filename> or running <command>shutdown</command> with the <parameter>-F</parameter> parameter instead of <parameter>-f</parameter>. </para> - + <para>Setting the variable FASTBOOT=y will disable <command>fsck</command> during the boot process until it is removed. This is not recommended on a permanent basis.</para></listitem> - + <listitem><para>Normally, all files in the <filename class='directory'>/tmp</filename> directory are deleted at boot time. Depending on the number of files or directories present, this can cause a noticeable delay in the boot process. To skip removing these files set the variable SKIPTMPCLEAN=y.</para></listitem> - + <listitem><para>During shutdown, the <command>init</command> program sends a TERM signal to each program it has started (e.g. agetty), waits for a set time (default 3 seconds), and sends each process a KILL signal and waits @@ -658,9 +658,9 @@ EOF</userinput></screen> -t0 -r now</command>). The delay for the <command>sendsignals</command> script can be skipped by setting the parameter KILLDELAY=0.</para></listitem> - + </itemizedlist> - + </sect3> </sect2> </sect1> |