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

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 2580945 was 2580945, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Instruct Udev to install its own systemd service file. The system
will fail to boot without it.

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