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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 2b220db9 was a413a82f, checked in by William Harrington <kb0iic@…>, 12 years ago

Update udev configure options to more final sane outcome.

  • Property mode set to 100644
File size: 8.8 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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
[1da2a84]28 <para os="a">Prepare Udev for compilation:</para>
[3f8be484]29
[b875779]30<screen os="b"><userinput>./configure --prefix=/usr \
[a413a82f]31 --sysconfdir=/etc --with-rootprefix="" \
32 --libexecdir=/lib --bindir=/sbin \
[bc1e9bd9]33 --with-usb-ids-path=no --with-pci-ids-path=no \
[3b81ca0]34 --enable-rule_generator --disable-introspection \
35 --disable-keymap --disable-gudev</userinput></screen>
[3f8be484]36
[1da2a84]37 <para os="c">Compile the package:</para>
[3f8be484]38
[1da2a84]39<screen os="d"><userinput>make</userinput></screen>
[3f8be484]40
[4faecfa]41 <para os="g">Install the package:</para>
[3f8be484]42
[1da2a84]43<screen os="h"><userinput>make install</userinput></screen>
[3f8be484]44
[a10f292]45 <para os="i">Create a directory for storing firmware that can be
[07e9936]46 loaded by <command>udev</command>:</para>
47
[a10f292]48<screen os="j"><userinput>install -dv /lib/firmware</userinput></screen>
[9aba4a0]49
[3f8be484]50 </sect2>
51
52 <sect2 id="contents-udev" role="content">
53 <title>Contents of Udev</title>
54
55 <segmentedlist>
56 <segtitle>Installed programs</segtitle>
[417c6ec]57 <segtitle>Installed library</segtitle>
[7177438]58 <segtitle>Installed directories</segtitle>
[3f8be484]59
60 <seglistitem>
[417c6ec]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>
[61ad0b7f]65 <seg>/etc/udev, /lib/firmware, /lib/udev, /usr/share/doc/udev</seg>
[3f8be484]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
[3a9adc5c]74 <varlistentry id="udevadm">
75 <term><command>udevadm</command></term>
76 <listitem>
[092b9f8]77 <para>Controls the runtime behavior of Udev, requests kernel
[1da2a84]78 events, manages the event queue, and provides simple debugging.</para>
[3a9adc5c]79 <indexterm zone="ch-system-udev udevadm">
80 <primary sortas="b-udevadm">udevadm</primary>
81 </indexterm>
82 </listitem>
83 </varlistentry>
84
[3f8be484]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
[3a9adc5c]97 <!-- Start of Helpers -->
[a68b59e]98 <varlistentry id="ata_id">
99 <term><command>ata_id</command></term>
100 <listitem>
101 <para>Provides Udev 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
[6e8f798]109 <varlistentry id="cdrom_id">
110 <term><command>cdrom_id</command></term>
[3f8be484]111 <listitem>
[092b9f8]112 <para>Prints the capabilities of a CDROM or DVDROM drive.</para>
[6e8f798]113 <indexterm zone="ch-system-udev cdrom_id">
114 <primary sortas="b-cdrom_id">cdrom_id</primary>
[3f8be484]115 </indexterm>
116 </listitem>
117 </varlistentry>
118
[1da2a84]119 <varlistentry id="collect">
120 <term><command>collect</command></term>
[a68b59e]121 <listitem>
[1da2a84]122 <para>DESCRIPTION REQUIRED</para>
123 <indexterm zone="ch-system-udev collect">
124 <primary sortas="b-collect">collect</primary>
[a68b59e]125 </indexterm>
126 </listitem>
127 </varlistentry>
128
[1da2a84]129 <varlistentry id="create_floppy_devices">
130 <term><command>create_floppy_devices</command></term>
[4ce2d9d]131 <listitem>
[1da2a84]132 <para>Creates all possible floppy devices based on the CMOS type</para>
133 <indexterm zone="ch-system-udev create_floppy_devices">
134 <primary sortas="b-create_floppy_devices">create_floppy_devices</primary>
[4ce2d9d]135 </indexterm>
136 </listitem>
137 </varlistentry>
138
139 <varlistentry id="edd_id">
140 <term><command>edd_id</command></term>
141 <listitem>
[092b9f8]142 <para>Identifies x86 disk drives from Enhanced Disk Drive calls</para>
[4ce2d9d]143 <indexterm zone="ch-system-udev edd_id">
144 <primary sortas="b-edd_id">edd_id</primary>
145 </indexterm>
146 </listitem>
147 </varlistentry>
148
[a68b59e]149 <varlistentry id="firmware.sh">
[9e18eea]150 <term><command>firmware.sh</command></term>
[3f8be484]151 <listitem>
[3a9adc5c]152 <para>Script to load firmware for a device</para>
[a68b59e]153 <indexterm zone="ch-system-udev firmware.sh">
154 <primary sortas="b-firmware.sh">firmware.sh</primary>
[6e8f798]155 </indexterm>
156 </listitem>
157 </varlistentry>
158
[1da2a84]159 <varlistentry id="fstab_import">
160 <term><command>fstab_import</command></term>
161 <listitem>
162 <para>DESCRIPTION REQUIRED</para>
163 <indexterm zone="ch-system-udev fstab_import">
164 <primary sortas="b-fstab_import">fstab_import</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
[a68b59e]169 <varlistentry id="path_id">
170 <term><command>path_id</command></term>
[6e8f798]171 <listitem>
[092b9f8]172 <para>Provides the shortest possible unique hardware path to a
[a68b59e]173 device</para>
174 <indexterm zone="ch-system-udev path_id">
175 <primary sortas="b-path_id">path_id</primary>
[6e8f798]176 </indexterm>
177 </listitem>
178 </varlistentry>
179
[a68b59e]180 <varlistentry id="scsi_id">
181 <term><command>scsi_id</command></term>
[6e8f798]182 <listitem>
[092b9f8]183 <para>Retrieves or generates a unique SCSI identifier.</para>
[a68b59e]184 <indexterm zone="ch-system-udev scsi_id">
185 <primary sortas="b-scsi_id">scsi_id</primary>
[6e8f798]186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="usb_id">
191 <term><command>usb_id</command></term>
192 <listitem>
[092b9f8]193 <para>Identifies a USB block device.</para>
[6e8f798]194 <indexterm zone="ch-system-udev usb_id">
195 <primary sortas="b-usb_id">usb_id</primary>
196 </indexterm>
197 </listitem>
[092b9f8]198 </varlistentry>
199
200 <varlistentry id="v4l_id">
201 <term><command>v4l_id</command></term>
202 <listitem>
203 <para>DESCRIPTION REQUIRED</para>
204 <indexterm zone="ch-system-udev v4l_id">
205 <primary sortas="b-v4l_id">v4l_id</primary>
206 </indexterm>
207 </listitem>
[6e8f798]208 </varlistentry>
209
[1da2a84]210 <varlistentry id="write_cd_rules">
211 <term><command>write_cd_rules</command></term>
212 <listitem>
213 <para>DESCRIPTION REQUIRED</para>
214 <indexterm zone="ch-system-udev write_cd_rules">
215 <primary sortas="b-write_cd_rules">write_cd_rules</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="write_net_rules">
221 <term><command>write_net_rules</command></term>
222 <listitem>
223 <para>DESCRIPTION REQUIRED</para>
224 <indexterm zone="ch-system-udev write_net_rules">
225 <primary sortas="b-write_net_rules">write_net_rules</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
[3a9adc5c]229<!-- End of Helpers -->
[3f8be484]230
[1da2a84]231 <varlistentry id="libudev">
232 <term><filename class="libraryfile">libudev</filename></term>
233 <listitem>
234 <para>DESCRIPTION REQUIRED</para>
235 <indexterm zone="ch-system-udev libudev">
[f4ab0fd]236 <primary sortas="c-libudev">libudev</primary>
[1da2a84]237 </indexterm>
238 </listitem>
239 </varlistentry>
240
[3f8be484]241 <varlistentry id="etc-udev">
242 <term><filename class="directory">/etc/udev</filename></term>
243 <listitem>
[8fd11cd]244 <para>Contains <command>udev</command> configuration files,
[3f8be484]245 device permissions, and rules for device naming</para>
246 <indexterm zone="ch-system-udev etc-udev">
247 <primary sortas="e-/etc/udev">/etc/udev</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
251
[6e8f798]252 <varlistentry id="lib-udev">
253 <term><filename class="directory">/lib/udev</filename></term>
254 <listitem>
255 <para>Contains <command>udev</command> helper programs
256 and static devices which get copied to /dev when booted.</para>
257 <indexterm zone="ch-system-udev lib-udev">
258 <primary sortas="e-/lib/udev">/lib/udev</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
[3f8be484]262 </variablelist>
263
264 </sect2>
265
266</sect1>
Note: See TracBrowser for help on using the repository browser.