Changeset 81fd230 for chapter06/udev.xml
- Timestamp:
- 02/19/2005 10:16:42 PM (19 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/udev.xml
r2f9131f r81fd230 11 11 12 12 <sect2 role="package"><title/> 13 <para>The Udev package contains programs for dynamic creation of device nodes.</para> 13 14 14 15 <segmentedlist> … … 18 19 </segmentedlist> 19 20 21 <segmentedlist> 22 <segtitle>Udev installation depends on</segtitle> 23 <seglistitem><seg>Coreutils and Make</seg></seglistitem> 24 </segmentedlist> 25 20 26 </sect2> 21 27 … … 23 29 <title>Installation of Udev</title> 24 30 25 <para>Compile Udev:</para>31 <para>Compile the package:</para> 26 32 27 33 <screen><userinput>make udevdir=/dev</userinput></screen> 28 34 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 39 devices 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> 30 46 31 47 <screen><userinput>make udevdir=/dev install</userinput></screen> 32 48 33 <para>Install our configuration files:</para> 49 <para>Udev's configuration is far from ideal by default, so install 50 the configuration files here:</para> 34 51 35 52 <screen><userinput>cp ../udev-config-2.permissions \ … … 37 54 cp ../udev-config-1.rules /etc/udev/rules.d/25-lfs.rules</userinput></screen> 38 55 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 58 compliment of device nodes.</para> 40 59 41 60 <screen><userinput>/sbin/udevstart</userinput></screen> … … 43 62 </sect2> 44 63 45 46 64 <sect2 id="contents-udev" role="content"><title>Contents of Udev</title> 47 65 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> 49 72 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 80 class="directory">/dev</filename> or renames network interfaces (not 81 in 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>, 90 thus 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 105 class="directory">/dev</filename> that correspond to drivers compiled directly 106 into the kernel; it performs that task by simulating hotplug events presumably 107 dropped by the kernel before invocation of this program (e.g., because the root 108 filesystem has not been mounted) and submitting such synthetic hotplug events 109 to <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 118 information on any device currently present on the system; it also 119 provides a way to query any device in the <systemitem 120 class="filesystem">sysfs</systemitem> tree to help create udev 121 rules</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, 129 and prints out the name of the node the real <command>udev</command> would 130 have 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, 138 device 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> 50 142 </sect2> 51 143 52 144 </sect1> 145
Note:
See TracChangeset
for help on using the changeset viewer.