source: BOOK/final-system/multilib/udev.xml@ 52e5dd9

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 52e5dd9 was 6aad380, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

  • Property mode set to 100644
File size: 6.3 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='c'])"/>
27
28<screen><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='d'])"/>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../common/udev.xml"
37 xpointer="xpointer(//*[@os='e'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../common/udev.xml"
41 xpointer="xpointer(//*[@os='f'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44 href="../common/udev.xml"
45 xpointer="xpointer(//*[@os='g'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="../common/udev.xml"
49 xpointer="xpointer(//*[@os='g1'])"/>
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='a'])"/>
62
63 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
64 href="../common/udev.xml"
65 xpointer="xpointer(//*[@os='b'])"/>
66
67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68 href="../common/udev.xml"
69 xpointer="xpointer(//*[@os='j'])"/>
70
71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72 href="../common/udev.xml"
73 xpointer="xpointer(//*[@os='k'])"/>
74
75 </sect2>
76
77 <sect2 id="contents-udev" role="content">
78 <title>Contents of Udev</title>
79
80 <segmentedlist>
81 <segtitle>Installed programs</segtitle>
82 <segtitle>Installed directory</segtitle>
83
84 <seglistitem>
85 <seg>udev, udevd, udevsend, udevstart, udevinfo, and udevtest</seg>
86 <seg>/etc/udev</seg>
87 </seglistitem>
88 </segmentedlist>
89
90 <variablelist>
91 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
92 <?dbfo list-presentation="list"?>
93 <?dbhtml list-presentation="table"?>
94
95 <varlistentry id="udev">
96 <term><command>udev</command></term>
97 <listitem>
98 <para>Creates device nodes in <filename
99 class="directory">/dev</filename> or renames network interfaces (not
100 in LFS) in response to hotplug events</para>
101 <indexterm zone="ch-system-udev udev">
102 <primary sortas="b-udev">udev</primary>
103 </indexterm>
104 </listitem></varlistentry>
105
106 <varlistentry id="udevd">
107 <term><command>udevd</command></term>
108 <listitem>
109 <para>A daemon that reorders hotplug events before submitting them to
110 <command>udev</command>,
111 thus avoiding various race conditions</para>
112 <indexterm zone="ch-system-udev udevd">
113 <primary sortas="b-udevd">udevd</primary>
114 </indexterm>
115 </listitem></varlistentry>
116
117 <varlistentry id="udevsend">
118 <term><command>udevsend</command></term>
119 <listitem>
120 <para>Delivers hotplug events to <command>udevd</command></para>
121 <indexterm zone="ch-system-udev udevsend">
122 <primary sortas="b-udevsend">udevsend</primary>
123 </indexterm>
124 </listitem></varlistentry>
125
126 <varlistentry id="udevstart">
127 <term><command>udevstart</command></term>
128 <listitem>
129 <para>Creates device nodes in <filename class="directory">/dev</filename>
130 that correspond to drivers compiled directly into the kernel; it
131 performs that task by simulating hotplug events presumably dropped by
132 the kernel before invocation of this program (e.g., because the root
133 filesystem has not been mounted) and submitting such synthetic hotplug
134 events to <command>udev</command></para>
135 <indexterm zone="ch-system-udev udevstart">
136 <primary sortas="b-udevstart">udevstart</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140
141 <varlistentry id="udevinfo">
142 <term><command>udevinfo</command></term>
143 <listitem>
144 <para>Allows users to query the <command>udev</command> database for
145 information on any device currently present on the system; it also
146 provides a way to query any device in the <systemitem
147 class="filesystem">sysfs</systemitem> tree to help create udev
148 rules</para>
149 <indexterm zone="ch-system-udev udevinfo">
150 <primary sortas="b-udevinfo">udevinfo</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 <varlistentry id="udevtest">
156 <term><command>udevtest</command></term>
157 <listitem>
158 <para>Simulates a <command>udev</command> run for the given device,
159 and prints out the name of the node the real <command>udev</command>
160 would have created or (not in LFS) the name of the renamed network
161 interface</para>
162 <indexterm zone="ch-system-udev udevtest">
163 <primary sortas="b-udevtest">udevtest</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 <varlistentry id="etc-udev">
169 <term><filename class="directory">/etc/udev</filename></term>
170 <listitem>
171 <para>Contains <command>udev</command> configuation files,
172 device permissions, and rules for device naming</para>
173 <indexterm zone="ch-system-udev etc-udev">
174 <primary sortas="e-/etc/udev">/etc/udev</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 </variablelist>
180
181 </sect2>
182
183</sect1>
Note: See TracBrowser for help on using the repository browser.