source: final-system/multilib/udev.xml@ f3c500c

Last change on this file since f3c500c was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

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