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

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 905b44e 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
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
[d198125]11 <title>Eudev-&udev-version;</title>
[3f8be484]12
13 <indexterm zone="ch-system-udev">
[d198125]14 <primary sortas="a-Eudev">Eudev</primary>
[3f8be484]15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
[d198125]20 <para>The Eudev package contains programs for dynamic creation of device
[3f8be484]21 nodes.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
[d198125]26 <title>Installation of Eudev</title>
[3f8be484]27
[d198125]28 <para os="a">Prepare Eudev for compilation:</para>
[3f8be484]29
[d198125]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>
[3f8be484]34
[1da2a84]35 <para os="c">Compile the package:</para>
[3f8be484]36
[1da2a84]37<screen os="d"><userinput>make</userinput></screen>
[3f8be484]38
[fba9a50c]39 <para os="e">To test the results, issue: <userinput>make check</userinput>.</para>
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">
[d198125]53 <title>Contents of Eudev</title>
[3f8be484]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>
[d198125]77 <para>Controls the runtime behavior of Eudev, 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>
[d198125]101 <para>Provides Eudev with a unique string and additional
[a68b59e]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>
[e487b49]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>
[1da2a84]125 <indexterm zone="ch-system-udev collect">
126 <primary sortas="b-collect">collect</primary>
[a68b59e]127 </indexterm>
128 </listitem>
129 </varlistentry>
130
[1da2a84]131 <varlistentry id="create_floppy_devices">
132 <term><command>create_floppy_devices</command></term>
[4ce2d9d]133 <listitem>
[1da2a84]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>
[4ce2d9d]137 </indexterm>
138 </listitem>
139 </varlistentry>
140
141 <varlistentry id="edd_id">
142 <term><command>edd_id</command></term>
143 <listitem>
[092b9f8]144 <para>Identifies x86 disk drives from Enhanced Disk Drive calls</para>
[4ce2d9d]145 <indexterm zone="ch-system-udev edd_id">
146 <primary sortas="b-edd_id">edd_id</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
[a68b59e]151 <varlistentry id="firmware.sh">
[9e18eea]152 <term><command>firmware.sh</command></term>
[3f8be484]153 <listitem>
[3a9adc5c]154 <para>Script to load firmware for a device</para>
[a68b59e]155 <indexterm zone="ch-system-udev firmware.sh">
156 <primary sortas="b-firmware.sh">firmware.sh</primary>
[6e8f798]157 </indexterm>
158 </listitem>
159 </varlistentry>
160
[1da2a84]161 <varlistentry id="fstab_import">
162 <term><command>fstab_import</command></term>
163 <listitem>
[e487b49]164 <para>Finds an entry in <filename>/etc/fstab</filename> that matches
165the current device, and provides its information to Udev.</para>
[1da2a84]166 <indexterm zone="ch-system-udev fstab_import">
167 <primary sortas="b-fstab_import">fstab_import</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
[a68b59e]172 <varlistentry id="path_id">
173 <term><command>path_id</command></term>
[6e8f798]174 <listitem>
[092b9f8]175 <para>Provides the shortest possible unique hardware path to a
[a68b59e]176 device</para>
177 <indexterm zone="ch-system-udev path_id">
178 <primary sortas="b-path_id">path_id</primary>
[6e8f798]179 </indexterm>
180 </listitem>
181 </varlistentry>
182
[a68b59e]183 <varlistentry id="scsi_id">
184 <term><command>scsi_id</command></term>
[6e8f798]185 <listitem>
[092b9f8]186 <para>Retrieves or generates a unique SCSI identifier.</para>
[a68b59e]187 <indexterm zone="ch-system-udev scsi_id">
188 <primary sortas="b-scsi_id">scsi_id</primary>
[6e8f798]189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 <varlistentry id="usb_id">
194 <term><command>usb_id</command></term>
195 <listitem>
[092b9f8]196 <para>Identifies a USB block device.</para>
[6e8f798]197 <indexterm zone="ch-system-udev usb_id">
198 <primary sortas="b-usb_id">usb_id</primary>
199 </indexterm>
200 </listitem>
[092b9f8]201 </varlistentry>
202
203 <varlistentry id="v4l_id">
204 <term><command>v4l_id</command></term>
205 <listitem>
[e487b49]206 <para>Determines V4L capabilities for a given device.</para>
[092b9f8]207 <indexterm zone="ch-system-udev v4l_id">
208 <primary sortas="b-v4l_id">v4l_id</primary>
209 </indexterm>
210 </listitem>
[6e8f798]211 </varlistentry>
212
[1da2a84]213 <varlistentry id="write_cd_rules">
214 <term><command>write_cd_rules</command></term>
215 <listitem>
[e487b49]216 <para>A script which generates Eudev rules to provide stable names
217for network interfaces.</para>
[1da2a84]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>
[e487b49]227 <para>A script which generates Eudev rules to provide stable names
228for network interfaces.</para>
[1da2a84]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>
[3a9adc5c]234<!-- End of Helpers -->
[3f8be484]235
[1da2a84]236 <varlistentry id="libudev">
237 <term><filename class="libraryfile">libudev</filename></term>
238 <listitem>
[e487b49]239 <para>A library interface to eudev device information.</para>
[1da2a84]240 <indexterm zone="ch-system-udev libudev">
[f4ab0fd]241 <primary sortas="c-libudev">libudev</primary>
[1da2a84]242 </indexterm>
243 </listitem>
244 </varlistentry>
245
[3f8be484]246 <varlistentry id="etc-udev">
247 <term><filename class="directory">/etc/udev</filename></term>
248 <listitem>
[8fd11cd]249 <para>Contains <command>udev</command> configuration files,
[3f8be484]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
[6e8f798]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>
[3f8be484]267 </variablelist>
268
269 </sect2>
270
271</sect1>
Note: See TracBrowser for help on using the repository browser.