Changeset 81fd230 for chapter06/udev.xml


Ignore:
Timestamp:
02/19/2005 10:16:42 PM (19 years ago)
Author:
Gerard Beekmans <gerard@…>
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, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, 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:
3d31fc4
Parents:
2f9131f
Message:

Trunk is now identical to Testing

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/udev.xml

    r2f9131f r81fd230  
    1111
    1212<sect2 role="package"><title/>
     13<para>The Udev package contains programs for dynamic creation of device nodes.</para>
    1314
    1415<segmentedlist>
     
    1819</segmentedlist>
    1920
     21<segmentedlist>
     22<segtitle>Udev installation depends on</segtitle>
     23<seglistitem><seg>Coreutils and Make</seg></seglistitem>
     24</segmentedlist>
     25
    2026</sect2>
    2127
     
    2329<title>Installation of Udev</title>
    2430
    25 <para>Compile Udev:</para>
     31<para>Compile the package:</para>
    2632
    2733<screen><userinput>make udevdir=/dev</userinput></screen>
    2834
    29 <para>Install it:</para>
     35<variablelist>
     36<varlistentry>
     37<term><parameter>udevdir=/dev</parameter></term>
     38<listitem><para>This tells <command>udev</command> in which directory
     39devices nodes are to be created.</para></listitem>
     40</varlistentry>
     41</variablelist>
     42
     43<para>This package does not come with a test suite.</para>
     44
     45<para>Install the package:</para>
    3046
    3147<screen><userinput>make udevdir=/dev install</userinput></screen>
    3248
    33 <para>Install our configuration files:</para>
     49<para>Udev's configuration is far from ideal by default, so install
     50the configuration files here:</para>
    3451
    3552<screen><userinput>cp ../udev-config-2.permissions \
     
    3754cp ../udev-config-1.rules /etc/udev/rules.d/25-lfs.rules</userinput></screen>
    3855
    39 <para>Create the full compliment of device  nodes:</para>
     56<!-- Edit Me -->
     57<para>Run the <command>udevstart</command> program to create our full
     58compliment of device nodes.</para>
    4059
    4160<screen><userinput>/sbin/udevstart</userinput></screen>
     
    4362</sect2>
    4463
    45 
    4664<sect2 id="contents-udev" role="content"><title>Contents of Udev</title>
    4765
    48 <para>See testing</para>
     66<segmentedlist>
     67<segtitle>Installed programs</segtitle>
     68<segtitle>Installed directory</segtitle>
     69<seglistitem><seg>udev, udevd, udevsend, udevstart, udevinfo, and udevtest</seg>
     70<seg>/etc/udev</seg></seglistitem>
     71</segmentedlist>
    4972
     73<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
     74<?dbfo list-presentation="list"?>
     75                                                                               
     76<varlistentry id="udev">
     77<term><command>udev</command></term>
     78<listitem>
     79<para>Creates device nodes in <filename
     80class="directory">/dev</filename> or renames network interfaces (not
     81in LFS) in response to hotplug events</para>
     82<indexterm zone="ch-system-udev udev"><primary sortas="b-udev">udev</primary></indexterm>
     83</listitem></varlistentry>
     84
     85<varlistentry id="udevd">
     86<term><command>udevd</command></term>
     87<listitem>
     88<para>A daemon that reorders hotplug events before submitting them to
     89<command>udev</command>,
     90thus avoiding various race conditions</para>
     91<indexterm zone="ch-system-udev udevd"><primary sortas="b-udevd">udevd</primary></indexterm>
     92</listitem></varlistentry>
     93
     94<varlistentry id="udevsend">
     95<term><command>udevsend</command></term>
     96<listitem>
     97<para>Delivers hotplug events to <command>udevd</command></para>
     98<indexterm zone="ch-system-udev udevsend"><primary sortas="b-udevsend">udevsend</primary></indexterm>
     99</listitem></varlistentry>
     100
     101<varlistentry id="udevstart">
     102<term><command>udevstart</command></term>
     103<listitem>
     104<para>Creates device nodes in <filename
     105class="directory">/dev</filename> that correspond to drivers compiled directly
     106into the kernel; it performs that task by simulating hotplug events presumably
     107dropped by the kernel before invocation of this program (e.g., because the root
     108filesystem has not been mounted) and submitting such synthetic hotplug events
     109to <command>udev</command></para>
     110<indexterm zone="ch-system-udev udevstart"><primary sortas="b-udevstart">udevstart</primary></indexterm>
     111</listitem>
     112</varlistentry>
     113
     114<varlistentry id="udevinfo">
     115<term><command>udevinfo</command></term>
     116<listitem>
     117<para>Allows users to query the <command>udev</command> database for
     118information on any device currently present on the system; it also
     119provides a way to query any device in the <systemitem
     120class="filesystem">sysfs</systemitem> tree to help create udev
     121rules</para>
     122<indexterm zone="ch-system-udev udevinfo"><primary sortas="b-udevinfo">udevinfo</primary></indexterm>
     123</listitem></varlistentry>
     124
     125<varlistentry id="udevtest">
     126<term><command>udevtest</command></term>
     127<listitem>
     128<para>Simulates a <command>udev</command> run for the given device,
     129and prints out the name of the node the real <command>udev</command> would
     130have created or (not in LFS) the name of the renamed network interface</para>
     131<indexterm zone="ch-system-udev udevtest"><primary sortas="b-udevtest">udevtest</primary></indexterm>
     132</listitem></varlistentry>
     133
     134<varlistentry id="etc-udev">
     135<term><filename class="directory">/etc/udev</filename></term>
     136<listitem>
     137<para>Contains <command>udev</command> configuation files,
     138device permissions, and rules for device naming</para>
     139<indexterm zone="ch-system-udev etc-udev"><primary sortas="e-etc-udev">/etc/udev</primary></indexterm>
     140</listitem></varlistentry>
     141</variablelist>
    50142</sect2>
    51143
    52144</sect1>
     145
Note: See TracChangeset for help on using the changeset viewer.