source: BOOK/final-system/common/eudev.xml@ 1f51dd0

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

Tidy up udev to eudev change in xml.

  • Property mode set to 100644
File size: 9.6 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
[01b60c4]8<sect1 id="ch-system-eudev" role="wrap">
9 <?dbhtml filename="eudev.html"?>
[3f8be484]10
[01b60c4]11 <title>Eudev-&eudev-version;</title>
[3f8be484]12
[01b60c4]13 <indexterm zone="ch-system-eudev">
[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
[91fb028]50 <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>
[dcbb278]51
52<screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" \
53> /etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>
54
[3f8be484]55 </sect2>
56
[01b60c4]57 <sect2 id="contents-eudev" role="content">
[d198125]58 <title>Contents of Eudev</title>
[3f8be484]59
60 <segmentedlist>
61 <segtitle>Installed programs</segtitle>
[417c6ec]62 <segtitle>Installed library</segtitle>
[7177438]63 <segtitle>Installed directories</segtitle>
[3f8be484]64
65 <seglistitem>
[417c6ec]66 <seg>ata_id, cdrom_id, collect, create_floppy_devices, edd_id,
67 firmware.sh, fstab_import, path_id, scsi_id, udevadm, udevd, usb_id,
68 v4l_id, write_cd_rules, write_net_rules</seg>
69 <seg>libudev</seg>
[61ad0b7f]70 <seg>/etc/udev, /lib/firmware, /lib/udev, /usr/share/doc/udev</seg>
[3f8be484]71 </seglistitem>
72 </segmentedlist>
73
74 <variablelist>
75 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
76 <?dbfo list-presentation="list"?>
77 <?dbhtml list-presentation="table"?>
78
[3a9adc5c]79 <varlistentry id="udevadm">
80 <term><command>udevadm</command></term>
81 <listitem>
[d198125]82 <para>Controls the runtime behavior of Eudev, requests kernel
[1da2a84]83 events, manages the event queue, and provides simple debugging.</para>
[01b60c4]84 <indexterm zone="ch-system-eudev udevadm">
[3a9adc5c]85 <primary sortas="b-udevadm">udevadm</primary>
86 </indexterm>
87 </listitem>
88 </varlistentry>
89
[3f8be484]90 <varlistentry id="udevd">
91 <term><command>udevd</command></term>
92 <listitem>
93 <para>A daemon that reorders hotplug events before submitting them to
94 <command>udev</command>,
95 thus avoiding various race conditions</para>
[01b60c4]96 <indexterm zone="ch-system-eudev udevd">
[3f8be484]97 <primary sortas="b-udevd">udevd</primary>
98 </indexterm>
99 </listitem>
100 </varlistentry>
101
[3a9adc5c]102 <!-- Start of Helpers -->
[a68b59e]103 <varlistentry id="ata_id">
104 <term><command>ata_id</command></term>
105 <listitem>
[d198125]106 <para>Provides Eudev with a unique string and additional
[a68b59e]107 information (uuid, label) for an ATA drive</para>
[01b60c4]108 <indexterm zone="ch-system-eudev ata_id">
[a68b59e]109 <primary sortas="b-ata_id">ata_id</primary>
110 </indexterm>
111 </listitem>
112 </varlistentry>
113
[6e8f798]114 <varlistentry id="cdrom_id">
115 <term><command>cdrom_id</command></term>
[3f8be484]116 <listitem>
[092b9f8]117 <para>Prints the capabilities of a CDROM or DVDROM drive.</para>
[01b60c4]118 <indexterm zone="ch-system-eudev cdrom_id">
[6e8f798]119 <primary sortas="b-cdrom_id">cdrom_id</primary>
[3f8be484]120 </indexterm>
121 </listitem>
122 </varlistentry>
123
[1da2a84]124 <varlistentry id="collect">
125 <term><command>collect</command></term>
[a68b59e]126 <listitem>
[e487b49]127 <para>Given an ID for the current uevent and a list of IDs
128(for all target uevents), registers the current ID and indicates whether
129all target IDs have been registered.</para>
[01b60c4]130 <indexterm zone="ch-system-eudev collect">
[1da2a84]131 <primary sortas="b-collect">collect</primary>
[a68b59e]132 </indexterm>
133 </listitem>
134 </varlistentry>
135
[1da2a84]136 <varlistentry id="create_floppy_devices">
137 <term><command>create_floppy_devices</command></term>
[4ce2d9d]138 <listitem>
[1da2a84]139 <para>Creates all possible floppy devices based on the CMOS type</para>
[01b60c4]140 <indexterm zone="ch-system-eudev create_floppy_devices">
[1da2a84]141 <primary sortas="b-create_floppy_devices">create_floppy_devices</primary>
[4ce2d9d]142 </indexterm>
143 </listitem>
144 </varlistentry>
145
146 <varlistentry id="edd_id">
147 <term><command>edd_id</command></term>
148 <listitem>
[092b9f8]149 <para>Identifies x86 disk drives from Enhanced Disk Drive calls</para>
[01b60c4]150 <indexterm zone="ch-system-eudev edd_id">
[4ce2d9d]151 <primary sortas="b-edd_id">edd_id</primary>
152 </indexterm>
153 </listitem>
154 </varlistentry>
155
[a68b59e]156 <varlistentry id="firmware.sh">
[9e18eea]157 <term><command>firmware.sh</command></term>
[3f8be484]158 <listitem>
[3a9adc5c]159 <para>Script to load firmware for a device</para>
[01b60c4]160 <indexterm zone="ch-system-eudev firmware.sh">
[a68b59e]161 <primary sortas="b-firmware.sh">firmware.sh</primary>
[6e8f798]162 </indexterm>
163 </listitem>
164 </varlistentry>
165
[1da2a84]166 <varlistentry id="fstab_import">
167 <term><command>fstab_import</command></term>
168 <listitem>
[e487b49]169 <para>Finds an entry in <filename>/etc/fstab</filename> that matches
170the current device, and provides its information to Udev.</para>
[01b60c4]171 <indexterm zone="ch-system-eudev fstab_import">
[1da2a84]172 <primary sortas="b-fstab_import">fstab_import</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
[a68b59e]177 <varlistentry id="path_id">
178 <term><command>path_id</command></term>
[6e8f798]179 <listitem>
[092b9f8]180 <para>Provides the shortest possible unique hardware path to a
[a68b59e]181 device</para>
[01b60c4]182 <indexterm zone="ch-system-eudev path_id">
[a68b59e]183 <primary sortas="b-path_id">path_id</primary>
[6e8f798]184 </indexterm>
185 </listitem>
186 </varlistentry>
187
[a68b59e]188 <varlistentry id="scsi_id">
189 <term><command>scsi_id</command></term>
[6e8f798]190 <listitem>
[092b9f8]191 <para>Retrieves or generates a unique SCSI identifier.</para>
[01b60c4]192 <indexterm zone="ch-system-eudev scsi_id">
[a68b59e]193 <primary sortas="b-scsi_id">scsi_id</primary>
[6e8f798]194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="usb_id">
199 <term><command>usb_id</command></term>
200 <listitem>
[092b9f8]201 <para>Identifies a USB block device.</para>
[01b60c4]202 <indexterm zone="ch-system-eudev usb_id">
[6e8f798]203 <primary sortas="b-usb_id">usb_id</primary>
204 </indexterm>
205 </listitem>
[092b9f8]206 </varlistentry>
207
208 <varlistentry id="v4l_id">
209 <term><command>v4l_id</command></term>
210 <listitem>
[e487b49]211 <para>Determines V4L capabilities for a given device.</para>
[01b60c4]212 <indexterm zone="ch-system-eudev v4l_id">
[092b9f8]213 <primary sortas="b-v4l_id">v4l_id</primary>
214 </indexterm>
215 </listitem>
[6e8f798]216 </varlistentry>
217
[1da2a84]218 <varlistentry id="write_cd_rules">
219 <term><command>write_cd_rules</command></term>
220 <listitem>
[e487b49]221 <para>A script which generates Eudev rules to provide stable names
222for network interfaces.</para>
[01b60c4]223 <indexterm zone="ch-system-eudev write_cd_rules">
[1da2a84]224 <primary sortas="b-write_cd_rules">write_cd_rules</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="write_net_rules">
230 <term><command>write_net_rules</command></term>
231 <listitem>
[e487b49]232 <para>A script which generates Eudev rules to provide stable names
233for network interfaces.</para>
[01b60c4]234 <indexterm zone="ch-system-eudev write_net_rules">
[1da2a84]235 <primary sortas="b-write_net_rules">write_net_rules</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
[3a9adc5c]239<!-- End of Helpers -->
[3f8be484]240
[1da2a84]241 <varlistentry id="libudev">
242 <term><filename class="libraryfile">libudev</filename></term>
243 <listitem>
[e487b49]244 <para>A library interface to eudev device information.</para>
[01b60c4]245 <indexterm zone="ch-system-eudev libudev">
[f4ab0fd]246 <primary sortas="c-libudev">libudev</primary>
[1da2a84]247 </indexterm>
248 </listitem>
249 </varlistentry>
250
[01b60c4]251 <varlistentry id="etc-eudev">
[3f8be484]252 <term><filename class="directory">/etc/udev</filename></term>
253 <listitem>
[8fd11cd]254 <para>Contains <command>udev</command> configuration files,
[3f8be484]255 device permissions, and rules for device naming</para>
[01b60c4]256 <indexterm zone="ch-system-eudev etc-eudev">
[3f8be484]257 <primary sortas="e-/etc/udev">/etc/udev</primary>
258 </indexterm>
259 </listitem>
260 </varlistentry>
261
[01b60c4]262 <varlistentry id="lib-eudev">
[6e8f798]263 <term><filename class="directory">/lib/udev</filename></term>
264 <listitem>
265 <para>Contains <command>udev</command> helper programs
266 and static devices which get copied to /dev when booted.</para>
[01b60c4]267 <indexterm zone="ch-system-eudev lib-eudev">
[6e8f798]268 <primary sortas="e-/lib/udev">/lib/udev</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
[3f8be484]272 </variablelist>
273
274 </sect2>
275
276</sect1>
Note: See TracBrowser for help on using the repository browser.