source: chapter06/systemd.xml@ f896e21c

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since f896e21c was f896e21c, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Updated udev to version 186. This update has a major procedure
change due to merging systemd and udev.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9908 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 5.9 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 <sect1info condition="script">
12 <productname>udev</productname>
13 <productnumber>&systemd-version;</productnumber>
14 <address>&systemd-url;</address>
15 </sect1info>
16
17 <title>Udev-&systemd-version; (Extracted from systemd-&systemd-version;)</title>
18
19 <indexterm zone="ch-system-udev">
20 <primary sortas="a-Udev">Udev</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Udev package contains programs for dynamic creation of device
27 nodes. The development of udev has been merged with systemd, but
28 most of systemd is incompatible with LFS. Here we build and install just
29 the needed udev files.</para>
30
31 <segmentedlist>
32 <segtitle>&buildtime;</segtitle>
33 <segtitle>&diskspace;</segtitle>
34
35 <seglistitem>
36 <seg>&systemd-ch6-sbu;</seg>
37 <seg>&systemd-ch6-du;</seg>
38 </seglistitem>
39 </segmentedlist>
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Udev</title>
44
45 <para>The udev-lfs tarball contains LFS-specific files used to build
46 Udev. Unpack it into the Udev source directory:</para>
47
48<screen><userinput remap="pre">tar -xvf ../&udev-lfs;.tar.bz2</userinput></screen>
49
50 <para>Compile the package:</para>
51
52<screen><userinput remap="make">make -f udev-lfs-&systemd-version;/Makefile.lfs</userinput></screen>
53
54 <para>Install the package:</para>
55
56<screen><userinput remap="install">make -f udev-lfs-&systemd-version;/Makefile.lfs install</userinput></screen>
57 </sect2>
58
59 <sect2 id="contents-udev" role="content">
60 <title>Contents of Udev</title>
61
62 <segmentedlist>
63 <segtitle>Installed programs</segtitle>
64 <segtitle>Installed libraries</segtitle>
65 <segtitle>Installed directories</segtitle>
66
67 <seglistitem>
68 <seg>accelerometer, ata_id, cdrom_id, collect, mtd_probe,
69 scsi_id, v4l_id, udevadm, udevd,</seg>
70
71 <seg>libudev.{a,so}</seg>
72
73 <seg>/etc/udev, /lib/udev, /lib/firmware, /usr/share/doc/udev</seg>
74 </seglistitem>
75 </segmentedlist>
76
77 <variablelist>
78 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
79 <?dbfo list-presentation="list"?>
80 <?dbhtml list-presentation="table"?>
81
82 <varlistentry id="ata_id">
83 <term><command>ata_id</command></term>
84 <listitem>
85 <para>Provides Udev with a unique string and
86 additional information (uuid, label) for an ATA drive</para>
87 <indexterm zone="ch-system-udev ata_id">
88 <primary sortas="b-ata_id">ata_id</primary>
89 </indexterm>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry id="cdrom_id">
94 <term><command>cdrom_id</command></term>
95 <listitem>
96 <para>Provides Udev with the capabilities of a
97 CD-ROM or DVD-ROM drive</para>
98 <indexterm zone="ch-system-udev cdrom_id">
99 <primary sortas="b-cdrom_id">cdrom_id</primary>
100 </indexterm>
101 </listitem>
102 </varlistentry>
103
104 <varlistentry id="collect">
105 <term><command>collect</command></term>
106 <listitem>
107 <para>Given an ID for the current uevent and a list of
108 IDs (for all target uevents), registers the current ID
109 and indicates whether all target IDs have been registered</para>
110 <indexterm zone="ch-system-udev collect">
111 <primary sortas="b-collect">collect</primary>
112 </indexterm>
113 </listitem>
114 </varlistentry>
115
116 <varlistentry id="scsi_id">
117 <term><command>scsi_id</command></term>
118 <listitem>
119 <para>Provides Udev with a unique SCSI identifier
120 based on the data returned from sending a SCSI INQUIRY command to
121 the specified device</para>
122 <indexterm zone="ch-system-udev scsi_id">
123 <primary sortas="b-scsi_id">scsi_id</primary>
124 </indexterm>
125 </listitem>
126 </varlistentry>
127
128 <varlistentry id="udevadm">
129 <term><command>udevadm</command></term>
130 <listitem>
131 <para>Generic udev administration tool: controls the udevd daemon,
132 provides info from the Udev database, monitors uevents, waits for
133 uevents to finish, tests Udev configuration, and triggers uevents
134 for a given device</para>
135 <indexterm zone="ch-system-udev udevadm">
136 <primary sortas="b-udevadm">udevadm</primary>
137 </indexterm>
138 </listitem>
139 </varlistentry>
140
141 <varlistentry id="udevd">
142 <term><command>udevd</command></term>
143 <listitem>
144 <para>A daemon that listens for uevents on the netlink socket,
145 creates devices and runs the configured external programs in
146 response to these uevents</para>
147 <indexterm zone="ch-system-udev udevd">
148 <primary sortas="b-udevd">udevd</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="libudev">
154 <term><filename class="libraryfile">libudev</filename></term>
155 <listitem>
156 <para>A library interface to udev device information</para>
157 <indexterm zone="ch-system-udev libudev">
158 <primary sortas="c-libudev">libudev</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="etc-udev">
164 <term><filename class="directory">/etc/udev</filename></term>
165 <listitem>
166 <para>Contains Udev configuration files,
167 device permissions, and rules for device naming</para>
168 <indexterm zone="ch-system-udev etc-udev">
169 <primary sortas="e-/etc/udev">/etc/udev</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 </variablelist>
175
176 </sect2>
177
178</sect1>
Note: See TracBrowser for help on using the repository browser.