source: BOOK/final-system/multilib/udev.xml@ 89847a8

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 89847a8 was 4faecfa, checked in by Jim Gifford <clfs@…>, 19 years ago

r1120@server (orig r1118): chris | 2006-01-31 19:29:01 -0800
Added a sed command to udev instructions to account for the new 'test' program location

  • Property mode set to 100644
File size: 6.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-udev" role="wrap">
9 <?dbhtml filename="udev.html"?>
10
11 <title>Udev-&udev-version;</title>
12
13 <indexterm zone="ch-system-udev">
14 <primary sortas="a-Udev">Udev</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/udev.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Udev</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="../common/udev.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
27
28<screen os="b"><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \
29 EXTRAS="extras/firmware extras/run_directory" udevdir=/dev</userinput></screen>
30
31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32 href="../common/udev.xml"
33 xpointer="xpointer(//*[@os='c'])"/>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../common/udev.xml"
37 xpointer="xpointer(//*[@os='d'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../common/udev.xml"
41 xpointer="xpointer(//*[@os='e'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44 href="../common/udev.xml"
45 xpointer="xpointer(//*[@os='f'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="../common/udev.xml"
49 xpointer="xpointer(//*[@os='g'])"/>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../common/udev.xml"
53 xpointer="xpointer(//*[@os='h'])"/>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../common/udev.xml"
57 xpointer="xpointer(//*[@os='i'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../common/udev.xml"
61 xpointer="xpointer(//*[@os='j'])"/>
62
63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
64 href="../common/udev.xml"
65 xpointer="xpointer(//*[@os='k'])"/>
66
67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68 href="../common/udev.xml"
69 xpointer="xpointer(//*[@os='l'])"/>
70
71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72 href="../common/udev.xml"
73 xpointer="xpointer(//*[@os='m'])"/>
74
75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
76 href="../common/udev.xml"
77 xpointer="xpointer(//*[@os='n'])"/>
78
79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
80 href="../common/udev.xml"
81 xpointer="xpointer(//*[@os='o'])"/>
82
83 </sect2>
84
85 <sect2 id="contents-udev" role="content">
86 <title>Contents of Udev</title>
87
88 <segmentedlist>
89 <segtitle>Installed programs</segtitle>
90 <segtitle>Installed directory</segtitle>
91
92 <seglistitem>
93 <seg>udev, udevd, udevsend, udevstart, udevinfo, and udevtest</seg>
94 <seg>/etc/udev</seg>
95 </seglistitem>
96 </segmentedlist>
97
98 <variablelist>
99 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
100 <?dbfo list-presentation="list"?>
101 <?dbhtml list-presentation="table"?>
102
103 <varlistentry id="udev">
104 <term><command>udev</command></term>
105 <listitem>
106 <para>Creates device nodes in <filename
107 class="directory">/dev</filename> or renames network interfaces (not
108 in LFS) in response to hotplug events</para>
109 <indexterm zone="ch-system-udev udev">
110 <primary sortas="b-udev">udev</primary>
111 </indexterm>
112 </listitem></varlistentry>
113
114 <varlistentry id="udevd">
115 <term><command>udevd</command></term>
116 <listitem>
117 <para>A daemon that reorders hotplug events before submitting them to
118 <command>udev</command>,
119 thus avoiding various race conditions</para>
120 <indexterm zone="ch-system-udev udevd">
121 <primary sortas="b-udevd">udevd</primary>
122 </indexterm>
123 </listitem></varlistentry>
124
125 <varlistentry id="udevsend">
126 <term><command>udevsend</command></term>
127 <listitem>
128 <para>Delivers hotplug events to <command>udevd</command></para>
129 <indexterm zone="ch-system-udev udevsend">
130 <primary sortas="b-udevsend">udevsend</primary>
131 </indexterm>
132 </listitem></varlistentry>
133
134 <varlistentry id="udevstart">
135 <term><command>udevstart</command></term>
136 <listitem>
137 <para>Creates device nodes in <filename class="directory">/dev</filename>
138 that correspond to drivers compiled directly into the kernel; it
139 performs that task by simulating hotplug events presumably dropped by
140 the kernel before invocation of this program (e.g., because the root
141 filesystem has not been mounted) and submitting such synthetic hotplug
142 events to <command>udev</command></para>
143 <indexterm zone="ch-system-udev udevstart">
144 <primary sortas="b-udevstart">udevstart</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
149 <varlistentry id="udevinfo">
150 <term><command>udevinfo</command></term>
151 <listitem>
152 <para>Allows users to query the <command>udev</command> database for
153 information on any device currently present on the system; it also
154 provides a way to query any device in the <systemitem
155 class="filesystem">sysfs</systemitem> tree to help create udev
156 rules</para>
157 <indexterm zone="ch-system-udev udevinfo">
158 <primary sortas="b-udevinfo">udevinfo</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="udevtest">
164 <term><command>udevtest</command></term>
165 <listitem>
166 <para>Simulates a <command>udev</command> run for the given device,
167 and prints out the name of the node the real <command>udev</command>
168 would have created or (not in LFS) the name of the renamed network
169 interface</para>
170 <indexterm zone="ch-system-udev udevtest">
171 <primary sortas="b-udevtest">udevtest</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="etc-udev">
177 <term><filename class="directory">/etc/udev</filename></term>
178 <listitem>
179 <para>Contains <command>udev</command> configuation files,
180 device permissions, and rules for device naming</para>
181 <indexterm zone="ch-system-udev etc-udev">
182 <primary sortas="e-/etc/udev">/etc/udev</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 </variablelist>
188
189 </sect2>
190
191</sect1>
Note: See TracBrowser for help on using the repository browser.