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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d3753966 was e487b49, checked in by William Harrington <kb0iic@…>, 11 years ago

Update REQUIRED DESCRIPTION to descriptions for Eudev.

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