Changes in chapter09/usage.xml [6dfcfecc:c34b4fb]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter09/usage.xml
r6dfcfecc rc34b4fb 25 25 particular Linux distribution, they should work the same in LFS too. LFS has its 26 26 own way of doing things, but it respects generally accepted standards.</para> 27 27 28 28 <para>SysVinit (which will be referred to as <quote>init</quote> from now on) 29 29 works using a run-levels scheme. There are seven (numbered 0 to 6) run-levels … … 234 234 /sys/class/rtc.</para> 235 235 236 <para>For information on kernel module loading and udev, see 236 <para>For information on kernel module loading and udev, see 237 237 <xref linkend="module-loading"/>.</para> 238 238 </sect2> … … 536 536 <sect2 id="ch-config-createfiles"> 537 537 <title>Creating Files at Boot</title> 538 538 539 539 <indexterm zone="ch-config-createfiles"> 540 540 <primary sortas="d-createfiles">File creation at boot</primary> 541 541 <secondary>configuring</secondary> 542 542 </indexterm> 543 543 544 544 <para>At times, it is desirable to create files at boot time. For instance, 545 545 the <filename class="directory">/tmp/.ICE-unix</filename> directory 546 546 is often needed. This can be done by creating an entry in the 547 547 <filename>/etc/sysconfig/createfiles</filename> configuration script. 548 The format of this file is embedded in the comments of the default 548 The format of this file is embedded in the comments of the default 549 549 configuration file.</para> 550 550 </sect2> … … 552 552 <sect2 id="ch-config-sysklogd"> 553 553 <title>Configuring the sysklogd Script</title> 554 554 555 555 <indexterm zone="ch-config-sysklogd"> 556 556 <primary sortas="d-sysklogd">sysklogd</primary> 557 557 <secondary>configuring</secondary> 558 558 </indexterm> 559 559 560 560 <para>The <filename>sysklogd</filename> script invokes the 561 561 <command>syslogd</command> program as a part of System V initialization. The … … 575 575 <sect2 id="ch-config-site"> 576 576 <title>The rc.site File</title> 577 577 578 578 <indexterm zone="ch-config-site"> 579 579 <primary sortas="a-rc.site">rc.site</primary> 580 580 </indexterm> 581 581 582 582 <para>The optional <filename>/etc/sysconfig/rc.site</filename> file contains 583 583 settings that are automatically set for each SystemV boot script. It can … … 588 588 <filename>rc.site</filename>, the values in the script specific files have 589 589 precedence. </para> 590 590 591 591 <para><filename>rc.site</filename> also contains parameters that can 592 592 customize other aspects of the boot process. Setting the IPROMPT variable 593 593 will enable selective running of bootscripts. Other options are described 594 594 in the file comments. The default version of the file is as follows:</para> 595 595 596 596 <!-- Use role to fix a pdf generation problem --> 597 597 <screen role="auto">&site;</screen> 598 598 599 599 <sect3> 600 600 <title>Customizing the Boot and Shutdown Scripts</title> 601 601 602 602 <para>The LFS boot scripts boot and shut down a system in a fairly 603 603 efficient manner, but there are a few tweaks that you can make in the … … 605 605 to your preferences. To do this, adjust the settings in 606 606 the <filename>/etc/sysconfig/rc.site</filename> file above.</para> 607 607 608 608 <itemizedlist> 609 609 610 610 <listitem><para>During the boot script <filename>udev</filename>, there is 611 611 a call to <command>udev settle</command> that requires some time to … … 614 614 card, the boot process will probably not need to wait for this command. To 615 615 skip it, set the variable OMIT_UDEV_SETTLE=y.</para></listitem> 616 616 617 617 <listitem><para>The boot script <filename>udev_retry</filename> also runs 618 618 <command>udev settle</command> by default. This command is only needed by … … 623 623 needed. Skip the command by setting the variable OMIT_UDEV_RETRY_SETTLE=y. 624 624 </para></listitem> 625 625 626 626 <listitem><para>By default, the file system checks are silent. This can 627 627 appear to be a delay during the bootup process. To turn on the 628 628 <command>fsck</command> output, set the variable VERBOSE_FSCK=y. 629 629 </para></listitem> 630 630 631 631 <listitem><para>When rebooting, you may want to skip the filesystem check, 632 632 <command>fsck</command>, completely. To do this, either create the file … … 637 637 the <parameter>-F</parameter> parameter instead of <parameter>-f</parameter>. 638 638 </para> 639 639 640 640 <para>Setting the variable FASTBOOT=y will disable <command>fsck</command> 641 641 during the boot process until it is removed. This is not recommended 642 642 on a permanent basis.</para></listitem> 643 643 644 644 <listitem><para>Normally, all files in the <filename 645 645 class='directory'>/tmp</filename> directory are deleted at boot time. … … 647 647 noticeable delay in the boot process. To skip removing these files set the 648 648 variable SKIPTMPCLEAN=y.</para></listitem> 649 649 650 650 <listitem><para>During shutdown, the <command>init</command> program sends 651 651 a TERM signal to each program it has started (e.g. agetty), waits for a set … … 659 659 script can be skipped by setting the parameter 660 660 KILLDELAY=0.</para></listitem> 661 661 662 662 </itemizedlist> 663 663 664 664 </sect3> 665 665 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.