Changeset 9876d9e for chapter07


Ignore:
Timestamp:
09/05/2004 04:23:58 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
76a4fc3
Parents:
752f4e5
Message:

Tags corrections, Chapter 7.

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

Location:
chapter07
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • chapter07/bootscripts.xml

    r752f4e5 r9876d9e  
    44  %general-entities;
    55]>
    6 <sect1 id="ch-scripts-bootscripts" xreflabel="Bootscripts" role="wrap">
     6<sect1 id="ch-scripts-bootscripts" role="wrap">
    77<title>LFS-Bootscripts-&bootscripts-version;</title>
    88<?dbhtml filename="bootscripts.html"?>
  • chapter07/console.xml

    r752f4e5 r9876d9e  
    4646EOF</userinput></screen>
    4747
    48 <note><para>The FONT line above is correct only for the ISO 8859-15
     48<note><para>The <envar>FONT</envar> line above is correct only for the ISO 8859-15
    4949character set. If using ISO 8859-1 and, therefore, a pound sign
    50 instead of Euro, the correct FONT line is:</para>
     50instead of Euro, the correct <envar>FONT</envar> line is:</para>
    5151
    5252<screen><userinput>FONT="lat1-16"</userinput></screen></note>
    5353
    54 <para>If the KEYMAP or FONT variable is not set, the
     54<para>If the <envar>KEYMAP</envar> or <envar>FONT</envar> variable is not set, the
    5555<command>console</command> initscript will not run the corresponding
    5656program.</para>
     
    8888<para>To compile the keymap directly into the kernel instead of
    8989setting it every time from the <command>console</command> bootscript,
    90 follow the instructions given in <xref linkend="ch-bootable-kernel"/>.
     90follow the instructions given in <xref linkend="ch-bootable-kernel" role="."/>
    9191Doing this ensures that the keyboard will always work as expected,
    9292even when booting into maintenance mode (by passing
     
    9999
    100100<para>Since the kernel will set up the keymap, it is possible to omit
    101 the KEYMAP variable from the
     101the <envar>KEYMAP</envar> variable from the
    102102<filename>/etc/sysconfig/console</filename> configuration file. It can
    103103also be left in place, if desired, without consequence.  Keeping it
  • chapter07/inputrc.xml

    r752f4e5 r9876d9e  
    1212<para>The <filename>/etc/inputrc</filename> file deals with mapping
    1313the keyboard for specific situations. This file is the start-up file
    14 used by <application>readline</application>, the input-related
     14used by <application>Readline</application>, the input-related
    1515library used by <application>Bash</application> and most other
    1616shells.</para>
  • chapter07/network.xml

    r752f4e5 r9876d9e  
    5454
    5555<para>The values of these variables must be changed in every file to
    56 match the proper setup. If the <emphasis>ONBOOT</emphasis> variable is
     56match the proper setup. If the <envar>ONBOOT</envar> variable is
    5757set to <quote>yes</quote> the network script will bring up the
    5858Network Interface Card (NIC) during booting of the system. If set
     
    6060network script and not brought up.</para>
    6161
    62 <para>The <emphasis>SERVICE</emphasis> variable defines the method of
     62<para>The <envar>SERVICE</envar> variable defines the method of
    6363obtaining the IP address. The LFS bootscripts have a modular IP
    6464assignment format, and creating additional files in the <filename
     
    6767for Dynamic Host Configuration Protocol (DHCP), which is addressed in the BLFS book.</para>
    6868
    69 <para>The <emphasis>GATEWAY</emphasis> variable should contain
     69<para>The <envar>GATEWAY</envar> variable should contain
    7070the default gateway IP address, if one is present. If not, then comment out
    7171the variable entirely.</para>
    7272
    73 <para>The <emphasis>PREFIX</emphasis> variable needs to contain the
     73<para>The <envar>PREFIX</envar> variable needs to contain the
    7474number of bits used in the subnet. Each octet in an IP address is 8
    7575bits. If the subnet's netmask is 255.255.255.0, then it is using the
  • chapter07/profile.xml

    r752f4e5 r9876d9e  
    5353</itemizedlist>
    5454
    55 <para>This script also sets the <emphasis>INPUTRC</emphasis>
     55<para>This script also sets the <envar>INPUTRC</envar>
    5656environment variable that makes <application>Bash</application> and
    5757<application>Readline</application> use the
  • chapter07/setclock.xml

    r752f4e5 r9876d9e  
    3535months.</para>
    3636
    37 <para>Change the value of the <emphasis>UTC</emphasis> variable below
     37<para>Change the value of the <envar>UTC</envar> variable below
    3838to a value of <parameter>0</parameter> (zero) if the hardware clock
    3939is <emphasis>not</emphasis> set to UTC time.</para>
     
    5252<para>A good hint explaining how to deal with time on LFS is available
    5353at <ulink url="&hints-root;time.txt"/>. It explains issues such as
    54 time zones, UTC, and the TZ environment variable.</para>
     54time zones, UTC, and the <envar>TZ</envar> environment variable.</para>
    5555
    5656</sect1>
  • chapter07/udev.xml

    r752f4e5 r9876d9e  
    1212<secondary>usage</secondary></indexterm>
    1313
    14 <para>In <xref linkend="chapter-building-system"/>, we installed the udev
     14<para>In <xref linkend="chapter-building-system"/>, we installed the Udev
    1515package.  Before we go into the details regarding how this works,
    1616a brief history of previous methods of handling devices is in
     
    2323devices actually exist. This is typically done via a
    2424<command>MAKEDEV</command> script, which contains a number of
    25 calls to the 'mknod' program with the relevant major and minor device
     25calls to the <command>mknod</command> program with the relevant major and minor device
    2626numbers for every possible device that might exist in the world. Using
    2727the udev method, only those devices which are detected by the kernel
     
    182182devices nodes:</para>
    183183
    184 <para>1) A kernel driver may not export its data to sysfs</para>
     184<para>1) A kernel driver may not export its data to <systemitem
     185class="filesystem">sysfs</systemitem>.</para>
    185186   
    186187<para>This is most common with third party drivers from outside the
     
    205206<quote>install</quote> line in
    206207<filename>/etc/modprobe.conf</filename>. This tells the
    207 modprobe command <quote>when loading this module, also load this other
    208 module, at the same time.</quote>  For example:</para>
     208<command>modprobe</command> command <quote>when loading this module,
     209also load this other module, at the same time.</quote>  For example:</para>
    209210
    210211<screen><userinput>install snd-pcm modprobe -i snd-pcm ; modprobe \
Note: See TracChangeset for help on using the changeset viewer.