Ignore:
Timestamp:
06/12/2020 08:42:32 PM (4 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
9e7475a
Parents:
96f04d7
Message:

Text updated for cross2 chapter 9

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter09/usage.xml

    r96f04d7 ra3d0817  
    236236      <para>For information on kernel module loading and udev, see
    237237      <xref linkend="module-loading"/>.</para>
    238 <!--
    239     <sect3>
    240       <title>Module Loading</title>
    241 
    242       <para>Device drivers compiled as modules may have aliases built into them.
    243       Aliases are visible in the output of the <command>modinfo</command>
    244       program and are usually related to the bus-specific identifiers of devices
    245       supported by a module. For example, the <emphasis>snd-fm801</emphasis>
    246       driver supports PCI devices with vendor ID 0x1319 and device ID 0x0801,
    247       and has an alias of <quote>pci:v00001319d00000801sv*sd*bc04sc01i*</quote>.
    248       For most devices, the bus driver exports the alias of the driver that
    249       would handle the device via <systemitem
    250       class="filesystem">sysfs</systemitem>. E.g., the
    251       <filename>/sys/bus/pci/devices/0000:00:0d.0/modalias</filename> file
    252       might contain the string
    253       <quote>pci:v00001319d00000801sv00001319sd00001319bc04sc01i00</quote>.
    254       The default rules provided with Udev will cause <command>udevd</command>
    255       to call out to <command>/sbin/modprobe</command> with the contents of the
    256       <envar>MODALIAS</envar> uevent environment variable (which should be the
    257       same as the contents of the <filename>modalias</filename> file in sysfs),
    258       thus loading all modules whose aliases match this string after wildcard
    259       expansion.</para>
    260 
    261       <para>In this example, this means that, in addition to
    262       <emphasis>snd-fm801</emphasis>, the obsolete (and unwanted)
    263       <emphasis>forte</emphasis> driver will be loaded if it is
    264       available. See below for ways in which the loading of unwanted drivers can
    265       be prevented.</para>
    266 
    267       <para>The kernel itself is also able to load modules for network
    268       protocols, filesystems and NLS support on demand.</para>
    269 
    270     </sect3>
    271 
    272     <sect3>
    273       <title>Handling Hotpluggable/Dynamic Devices</title>
    274 
    275       <para>When you plug in a device, such as a Universal Serial Bus (USB) MP3
    276       player, the kernel recognizes that the device is now connected and
    277       generates a uevent. This uevent is then handled by
    278       <command>udevd</command> as described above.</para>
    279 
    280     </sect3>
    281 -->
    282238  </sect2>
    283239
     
    294250    hardware clock's time to the local time using the
    295251    <filename>/etc/localtime</filename> file (which tells the
    296     <command>hwclock</command> program which timezone the user is in). There is no
     252    <command>hwclock</command> program which timezone to use). There is no
    297253    way to detect whether or not the hardware clock is set to UTC, so this
    298254    needs to be configured manually.</para>
    299255
    300     <para>The <command>setclock</command> is run via
     256    <para>The <command>setclock</command> program is run via
    301257    <application>udev</application> when the kernel detects the hardware
    302258    capability upon boot.  It can also be run manually with the stop parameter to
     
    316272    <para>Change the value of the <envar>UTC</envar> variable below
    317273    to a value of <parameter>0</parameter> (zero) if the hardware clock
    318     is <emphasis>not</emphasis> set to UTC time.</para>
     274    is <emphasis>NOT</emphasis> set to UTC time.</para>
    319275
    320276    <para>Create a new file <filename>/etc/sysconfig/clock</filename> by running
     
    337293    time zones, UTC, and the <envar>TZ</envar> environment variable.</para>
    338294
    339     <note><para>The CLOCKPARAMS and UTC paramaters may be alternatively set
     295    <note><para>The CLOCKPARAMS and UTC paramaters may also be set
    340296    in the <filename>/etc/sysconfig/rc.site</filename> file.</para></note>
    341297
     
    353309
    354310  <para>This section discusses how to configure the <command>console</command>
    355   bootscript that sets up the keyboard map, console font and console kernel log
     311  bootscript that sets up the keyboard map, console font, and console kernel log
    356312  level. If non-ASCII characters (e.g., the copyright sign, the British pound
    357313  sign and Euro symbol) will not be used and the keyboard is a U.S. one, much
     
    506462      <para>Due to the use of a 512-glyph LatArCyrHeb-16 font in the previous
    507463      example, bright colors are no longer available on the Linux console unless
    508       a framebuffer is used. If one wants to have bright colors without
     464      a framebuffer is used. If one wants to have bright colors without a
    509465      framebuffer and can live without characters not belonging to his language,
    510466      it is still possible to use a language-specific 256-glyph font, as
     
    549505      languages, because there accents are added to unaccented ASCII
    550506      characters, or two ASCII characters are composed together. However, in
    551       UTF-8 mode it is a problem, e.g., for the Greek language, where one
     507      UTF-8 mode it is a problem; e.g., for the Greek language, where one
    552508      sometimes needs to put an accent on the letter <quote>alpha</quote>.
    553509      The solution is either to avoid the use of UTF-8, or to install the
     
    557513
    558514    <listitem>
    559       <para>For Chinese, Japanese, Korean and some other languages, the Linux
     515      <para>For Chinese, Japanese, Korean, and some other languages, the Linux
    560516      console cannot be configured to display the needed characters. Users
    561517      who need such languages should install the X Window System, fonts that
    562518      cover the necessary character ranges, and the proper input method (e.g.,
    563       SCIM, it supports a wide variety of languages).</para>
     519      SCIM, supports a wide variety of languages).</para>
    564520    </listitem>
    565521
     
    572528    the Linux text console localization. It has nothing to do with setting
    573529    the proper keyboard layout and terminal fonts in the X Window System, with
    574     ssh sessions or with a serial console. In such situations, limitations
     530    ssh sessions, or with a serial console. In such situations, limitations
    575531    mentioned in the last two list items above do not apply.</para>
    576532  </note>
     
    586542    </indexterm>
    587543 
    588     <para>At times, it is desired to create files at boot time.  For instance,
     544    <para>At times, it is desirable to create files at boot time.  For instance,
    589545    the <filename class="directory">/tmp/.ICE-unix</filename> directory
    590     may be desired.  This can be done by creating an entry in the
     546    is often needed.  This can be done by creating an entry in the
    591547    <filename>/etc/sysconfig/createfiles</filename> configuration script.
    592548    The format of this file is embedded in the comments of the default
Note: See TracChangeset for help on using the changeset viewer.