source: BOOK/final-system/common/udev.xml@ b8765f3

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b8765f3 was c7fdbf48, checked in by Jonathan Norman <jon@…>, 13 years ago

Fixed typo on udev final command

  • Property mode set to 100644
File size: 8.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 <sect2 role="package">
18 <title/>
19
20 <para>The Udev package contains programs for dynamic creation of device
21 nodes.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Udev</title>
27
28 <para os="a">Prepare Udev for compilation:</para>
29
30<screen os="b"><userinput>./configure --prefix=/usr \
31 --exec-prefix="" --sysconfdir=/etc \
32 --with-usb-ids-path=no --with-pci-ids-path=no \
33 --disable-introspection --disable-keymap</userinput></screen>
34
35 <para os="c">Compile the package:</para>
36
37<screen os="d"><userinput>make</userinput></screen>
38
39 <para os="g">Install the package:</para>
40
41<screen os="h"><userinput>make install</userinput></screen>
42
43 <para os="i">Create a directory for storing firmware that can be
44 loaded by <command>udev</command>:</para>
45
46<screen os="j"><userinput>install -dv /lib/firmware</userinput></screen>
47
48 </sect2>
49
50 <sect2 id="contents-udev" role="content">
51 <title>Contents of Udev</title>
52
53 <segmentedlist>
54 <segtitle>Installed programs</segtitle>
55 <segtitle>Installed library</segtitle>
56 <segtitle>Installed directories</segtitle>
57
58 <seglistitem>
59 <seg>ata_id, cdrom_id, collect, create_floppy_devices, edd_id,
60 firmware.sh, fstab_import, path_id, scsi_id, udevadm, udevd, usb_id,
61 v4l_id, write_cd_rules, write_net_rules</seg>
62 <seg>libudev</seg>
63 <seg>/etc/udev, /lib/firmware, /lib/udev, /usr/share/doc/udev</seg>
64 </seglistitem>
65 </segmentedlist>
66
67 <variablelist>
68 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
69 <?dbfo list-presentation="list"?>
70 <?dbhtml list-presentation="table"?>
71
72 <varlistentry id="udevadm">
73 <term><command>udevadm</command></term>
74 <listitem>
75 <para>Controls the runtime behavior of Udev, requests kernel
76 events, manages the event queue, and provides simple debugging.</para>
77 <indexterm zone="ch-system-udev udevadm">
78 <primary sortas="b-udevadm">udevadm</primary>
79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 <varlistentry id="udevd">
84 <term><command>udevd</command></term>
85 <listitem>
86 <para>A daemon that reorders hotplug events before submitting them to
87 <command>udev</command>,
88 thus avoiding various race conditions</para>
89 <indexterm zone="ch-system-udev udevd">
90 <primary sortas="b-udevd">udevd</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 <!-- Start of Helpers -->
96 <varlistentry id="ata_id">
97 <term><command>ata_id</command></term>
98 <listitem>
99 <para>Provides Udev with a unique string and additional
100 information (uuid, label) for an ATA drive</para>
101 <indexterm zone="ch-system-udev ata_id">
102 <primary sortas="b-ata_id">ata_id</primary>
103 </indexterm>
104 </listitem>
105 </varlistentry>
106
107 <varlistentry id="cdrom_id">
108 <term><command>cdrom_id</command></term>
109 <listitem>
110 <para>Prints the capabilities of a CDROM or DVDROM drive.</para>
111 <indexterm zone="ch-system-udev cdrom_id">
112 <primary sortas="b-cdrom_id">cdrom_id</primary>
113 </indexterm>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry id="collect">
118 <term><command>collect</command></term>
119 <listitem>
120 <para>DESCRIPTION REQUIRED</para>
121 <indexterm zone="ch-system-udev collect">
122 <primary sortas="b-collect">collect</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry id="create_floppy_devices">
128 <term><command>create_floppy_devices</command></term>
129 <listitem>
130 <para>Creates all possible floppy devices based on the CMOS type</para>
131 <indexterm zone="ch-system-udev create_floppy_devices">
132 <primary sortas="b-create_floppy_devices">create_floppy_devices</primary>
133 </indexterm>
134 </listitem>
135 </varlistentry>
136
137 <varlistentry id="edd_id">
138 <term><command>edd_id</command></term>
139 <listitem>
140 <para>Identifies x86 disk drives from Enhanced Disk Drive calls</para>
141 <indexterm zone="ch-system-udev edd_id">
142 <primary sortas="b-edd_id">edd_id</primary>
143 </indexterm>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry id="firmware.sh">
148 <term><command>firmware.sh</command></term>
149 <listitem>
150 <para>Script to load firmware for a device</para>
151 <indexterm zone="ch-system-udev firmware.sh">
152 <primary sortas="b-firmware.sh">firmware.sh</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="fstab_import">
158 <term><command>fstab_import</command></term>
159 <listitem>
160 <para>DESCRIPTION REQUIRED</para>
161 <indexterm zone="ch-system-udev fstab_import">
162 <primary sortas="b-fstab_import">fstab_import</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="path_id">
168 <term><command>path_id</command></term>
169 <listitem>
170 <para>Provides the shortest possible unique hardware path to a
171 device</para>
172 <indexterm zone="ch-system-udev path_id">
173 <primary sortas="b-path_id">path_id</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="scsi_id">
179 <term><command>scsi_id</command></term>
180 <listitem>
181 <para>Retrieves or generates a unique SCSI identifier.</para>
182 <indexterm zone="ch-system-udev scsi_id">
183 <primary sortas="b-scsi_id">scsi_id</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 <varlistentry id="usb_id">
189 <term><command>usb_id</command></term>
190 <listitem>
191 <para>Identifies a USB block device.</para>
192 <indexterm zone="ch-system-udev usb_id">
193 <primary sortas="b-usb_id">usb_id</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="v4l_id">
199 <term><command>v4l_id</command></term>
200 <listitem>
201 <para>DESCRIPTION REQUIRED</para>
202 <indexterm zone="ch-system-udev v4l_id">
203 <primary sortas="b-v4l_id">v4l_id</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="write_cd_rules">
209 <term><command>write_cd_rules</command></term>
210 <listitem>
211 <para>DESCRIPTION REQUIRED</para>
212 <indexterm zone="ch-system-udev write_cd_rules">
213 <primary sortas="b-write_cd_rules">write_cd_rules</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="write_net_rules">
219 <term><command>write_net_rules</command></term>
220 <listitem>
221 <para>DESCRIPTION REQUIRED</para>
222 <indexterm zone="ch-system-udev write_net_rules">
223 <primary sortas="b-write_net_rules">write_net_rules</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227<!-- End of Helpers -->
228
229 <varlistentry id="libudev">
230 <term><filename class="libraryfile">libudev</filename></term>
231 <listitem>
232 <para>DESCRIPTION REQUIRED</para>
233 <indexterm zone="ch-system-udev libudev">
234 <primary sortas="c-libudev">libudev</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="etc-udev">
240 <term><filename class="directory">/etc/udev</filename></term>
241 <listitem>
242 <para>Contains <command>udev</command> configuration files,
243 device permissions, and rules for device naming</para>
244 <indexterm zone="ch-system-udev etc-udev">
245 <primary sortas="e-/etc/udev">/etc/udev</primary>
246 </indexterm>
247 </listitem>
248 </varlistentry>
249
250 <varlistentry id="lib-udev">
251 <term><filename class="directory">/lib/udev</filename></term>
252 <listitem>
253 <para>Contains <command>udev</command> helper programs
254 and static devices which get copied to /dev when booted.</para>
255 <indexterm zone="ch-system-udev lib-udev">
256 <primary sortas="e-/lib/udev">/lib/udev</primary>
257 </indexterm>
258 </listitem>
259 </varlistentry>
260 </variablelist>
261
262 </sect2>
263
264</sect1>
Note: See TracBrowser for help on using the repository browser.