Changeset c4efa05
- Timestamp:
- Mar 14, 2006, 11:25:42 PM (19 years ago)
- Children:
- f8e7b64
- Parents:
- 83ddbcf
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/common/udev.xml
r83ddbcf rc4efa05 28 28 29 29 <screen os="b"><userinput>make CROSS="${LFS_TARGET}-" CC="${CC}" LD="${CC}" \ 30 EXTRAS="extras/firmware extras/run_directory"</userinput></screen> 30 EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id 31 extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev</userinput></screen> 31 32 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 38 39 xpointer="xpointer(//*[@os='g'])"/> 39 40 40 <screen os="h"><userinput>make DESTDIR=${LFS} EXTRAS="extras/firmware extras/run_directory" install</userinput></screen> 41 42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 43 href="../../final-system/common/udev.xml" 44 xpointer="xpointer(//*[@os='j'])"/> 45 46 <screen os="k"><userinput>cp -v ../&udev-config-file; ${LFS}/etc/udev/rules.d/25-lfs.rules</userinput></screen> 41 <screen os="h"><userinput>make DESTDIR=${LFS} 42 EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id 43 extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev install</userinput></screen> 47 44 48 45 </sect2> -
boot/multilib/udev.xml
r83ddbcf rc4efa05 28 28 29 29 <screen os="b"><userinput>make CROSS="${LFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}" \ 30 EXTRAS="extras/firmware extras/run_directory"</userinput></screen> 30 EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id 31 extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev</userinput></screen> 31 32 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 42 43 xpointer="xpointer(//*[@os='h'])"/> 43 44 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"45 href="../common/udev.xml"46 xpointer="xpointer(//*[@os='j'])"/>47 48 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"49 href="../common/udev.xml"50 xpointer="xpointer(//*[@os='k'])"/>51 52 45 </sect2> 53 46 -
final-system/common/udev.xml
r83ddbcf rc4efa05 36 36 <para os="a">Compile the package:</para> 37 37 38 <screen os="b"><userinput>make EXTRAS="extras/firmware extras/run_directory"</userinput></screen> 38 <screen os="b"><userinput>make EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id 39 extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev</userinput></screen> 39 40 40 41 <variablelist os="c"> … … 42 43 43 44 <varlistentry> 44 <term><parameter>EXTRAS="extras/firmware extras/run_directory"</parameter></term> 45 <term><parameter>EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id 46 extras/ata_id extras/usb_id extras/edd_id extras/dasd_id"</parameter></term> 45 47 <listitem> 46 48 <para>This builds the <command>udev_run_devd</command> and … … 63 65 <para os="g">Install the package:</para> 64 66 65 <screen os="h"><userinput>make DESTDIR=/ EXTRAS="extras/firmware extras/run_directory" install</userinput></screen> 67 <screen os="h"><userinput>make DESTDIR=/ \ 68 EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id 69 extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev install</userinput></screen> 66 70 67 71 <variablelist os="i"> … … 79 83 </variablelist> 80 84 81 <para os=" j">Udev's configuration is far from ideal by default, so install82 the configuration file here:</para> 83 84 <screen os="k"><userinput>cp -v ../&udev-config-file; /etc/udev/rules.d/25-lfs.rules</userinput></screen>85 <para os="i">Install necessary helpers.</para> 86 87 <screen os="j"><userinput>install -D extras/path_id /sbin/path_id 88 install -D extras/eventrecorder.sh /lib/udev/eventrecorder.sh</userinput></screen> 85 89 86 90 <para os="l">Install the documentation that explains how to create … … 88 92 89 93 <screen os="m"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html</userinput></screen> 90 91 <para os="n">Run the <command>udevstart</command> program to create our full92 complement of device nodes.</para>93 94 <screen os="o"><userinput>/sbin/udevstart</userinput></screen>95 94 96 95 </sect2> … … 104 103 105 104 <seglistitem> 106 <seg>udev , udevcontrol, udevd, udevinfo, udevmonitor, udevsend,107 udevstartand udevtest</seg>105 <seg>udevcontrol, udevd, udevinfo, udevmonitor, udevsend, 106 and udevtest</seg> 108 107 <seg>/etc/udev</seg> 109 108 </seglistitem> … … 114 113 <?dbfo list-presentation="list"?> 115 114 <?dbhtml list-presentation="table"?> 116 117 <varlistentry id="udev">118 <term><command>udev</command></term>119 <listitem>120 <para>Creates device nodes in <filename121 class="directory">/dev</filename> or renames network interfaces (not122 in LFS) in response to hotplug events</para>123 <indexterm zone="ch-system-udev udev">124 <primary sortas="b-udev">udev</primary>125 </indexterm>126 </listitem>127 </varlistentry>128 115 129 116 <varlistentry id="udevcontrol"> … … 175 162 </varlistentry> 176 163 177 <varlistentry id="udevsend">178 <term><command>udevsend</command></term>179 <listitem>180 <para>Delivers hotplug events to <command>udevd</command></para>181 <indexterm zone="ch-system-udev udevsend">182 <primary sortas="b-udevsend">udevsend</primary>183 </indexterm>184 </listitem>185 </varlistentry>186 187 <varlistentry id="udevstart">188 <term><command>udevstart</command></term>189 <listitem>190 <para>Creates device nodes in <filename class="directory">/dev</filename>191 that correspond to drivers compiled directly into the kernel; it192 performs that task by simulating hotplug events presumably dropped by193 the kernel before invocation of this program (e.g., because the root194 filesystem has not been mounted) and submitting such synthetic hotplug195 events to <command>udev</command></para>196 <indexterm zone="ch-system-udev udevstart">197 <primary sortas="b-udevstart">udevstart</primary>198 </indexterm>199 </listitem>200 </varlistentry>201 202 164 <varlistentry id="udevtest"> 203 165 <term><command>udevtest</command></term> … … 213 175 </varlistentry> 214 176 177 <varlistentry id="cdrom_id"> 178 <term><command>cdrom_id</command></term> 179 <listitem> 180 <para>To be written</para> 181 <indexterm zone="ch-system-udev cdrom_id"> 182 <primary sortas="b-cdrom_id">cdrom_id</primary> 183 </indexterm> 184 </listitem> 185 </varlistentry> 186 187 <varlistentry id="firmware_helper"> 188 <term><command>firmware_helper</command></term> 189 <listitem> 190 <para>To be written</para> 191 <indexterm zone="ch-system-udev firmware_helper"> 192 <primary sortas="b-firmware_helper">firmware_helper</primary> 193 </indexterm> 194 </listitem> 195 </varlistentry> 196 197 <varlistentry id="scsi_id"> 198 <term><command>scsi_id</command></term> 199 <listitem> 200 <para>To be written</para> 201 <indexterm zone="ch-system-udev scsi_id"> 202 <primary sortas="b-scsi_id">scsi_id</primary> 203 </indexterm> 204 </listitem> 205 </varlistentry> 206 207 <varlistentry id="volume_id"> 208 <term><command>volume_id</command></term> 209 <listitem> 210 <para>To be written</para> 211 <indexterm zone="ch-system-udev volume_id"> 212 <primary sortas="b-volume_id">volume_id</primary> 213 </indexterm> 214 </listitem> 215 </varlistentry> 216 217 <varlistentry id="ata_id"> 218 <term><command>ata_id</command></term> 219 <listitem> 220 <para>To be written</para> 221 <indexterm zone="ch-system-udev ata_id"> 222 <primary sortas="b-volume_id">ata_id</primary> 223 </indexterm> 224 </listitem> 225 </varlistentry> 226 227 <varlistentry id="usb_id"> 228 <term><command>usb_id</command></term> 229 <listitem> 230 <para>To be written</para> 231 <indexterm zone="ch-system-udev usb_id"> 232 <primary sortas="b-usb_id">usb_id</primary> 233 </indexterm> 234 </listitem> 235 </varlistentry> 236 237 <varlistentry id="edd_id"> 238 <term><command>edd_id</command></term> 239 <listitem> 240 <para>To be written</para> 241 <indexterm zone="ch-system-udev edd_id"> 242 <primary sortas="b-edd_id">edd_id</primary> 243 </indexterm> 244 </listitem> 245 </varlistentry> 246 247 <varlistentry id="dasd_id"> 248 <term><command>dasd_id</command></term> 249 <listitem> 250 <para>To be written</para> 251 <indexterm zone="ch-system-udev dasd_id"> 252 <primary sortas="b-dasd_id">dasd_id</primary> 253 </indexterm> 254 </listitem> 255 </varlistentry> 256 215 257 <varlistentry id="etc-udev"> 216 258 <term><filename class="directory">/etc/udev</filename></term> … … 224 266 </varlistentry> 225 267 268 <varlistentry id="lib-udev"> 269 <term><filename class="directory">/lib/udev</filename></term> 270 <listitem> 271 <para>Contains <command>udev</command> helper programs 272 and static devices which get copied to /dev when booted.</para> 273 <indexterm zone="ch-system-udev lib-udev"> 274 <primary sortas="e-/lib/udev">/lib/udev</primary> 275 </indexterm> 276 </listitem> 277 </varlistentry> 226 278 </variablelist> 227 279 -
final-system/multilib/udev.xml
r83ddbcf rc4efa05 27 27 28 28 <screen os="b"><userinput>make CC="gcc ${BUILD64}" LD="gcc ${BUILD64}" \ 29 EXTRAS="extras/firmware extras/run_directory" udevdir=/dev</userinput></screen> 29 EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id 30 extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev</userinput></screen> 30 31 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 63 64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 64 65 href="../common/udev.xml" 65 xpointer="xpointer(//*[@os='k'])"/>66 67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"68 href="../common/udev.xml"69 66 xpointer="xpointer(//*[@os='l'])"/> 70 67 … … 73 70 xpointer="xpointer(//*[@os='m'])"/> 74 71 75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"76 href="../common/udev.xml"77 xpointer="xpointer(//*[@os='n'])"/>78 79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"80 href="../common/udev.xml"81 xpointer="xpointer(//*[@os='o'])"/>82 83 72 </sect2> 84 73 85 <sect2 id="contents-udev" role="content"> 86 <title>Contents of Udev</title> 87 88 <segmentedlist> 89 <segtitle>Installed programs</segtitle> 90 <segtitle>Installed directory</segtitle> 91 92 <seglistitem> 93 <seg>udev, udevd, udevsend, udevstart, udevinfo, and udevtest</seg> 94 <seg>/etc/udev</seg> 95 </seglistitem> 96 </segmentedlist> 97 98 <variablelist> 99 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 100 <?dbfo list-presentation="list"?> 101 <?dbhtml list-presentation="table"?> 102 103 <varlistentry id="udev"> 104 <term><command>udev</command></term> 105 <listitem> 106 <para>Creates device nodes in <filename 107 class="directory">/dev</filename> or renames network interfaces (not 108 in LFS) in response to hotplug events</para> 109 <indexterm zone="ch-system-udev udev"> 110 <primary sortas="b-udev">udev</primary> 111 </indexterm> 112 </listitem></varlistentry> 113 114 <varlistentry id="udevd"> 115 <term><command>udevd</command></term> 116 <listitem> 117 <para>A daemon that reorders hotplug events before submitting them to 118 <command>udev</command>, 119 thus avoiding various race conditions</para> 120 <indexterm zone="ch-system-udev udevd"> 121 <primary sortas="b-udevd">udevd</primary> 122 </indexterm> 123 </listitem></varlistentry> 124 125 <varlistentry id="udevsend"> 126 <term><command>udevsend</command></term> 127 <listitem> 128 <para>Delivers hotplug events to <command>udevd</command></para> 129 <indexterm zone="ch-system-udev udevsend"> 130 <primary sortas="b-udevsend">udevsend</primary> 131 </indexterm> 132 </listitem></varlistentry> 133 134 <varlistentry id="udevstart"> 135 <term><command>udevstart</command></term> 136 <listitem> 137 <para>Creates device nodes in <filename class="directory">/dev</filename> 138 that correspond to drivers compiled directly into the kernel; it 139 performs that task by simulating hotplug events presumably dropped by 140 the kernel before invocation of this program (e.g., because the root 141 filesystem has not been mounted) and submitting such synthetic hotplug 142 events to <command>udev</command></para> 143 <indexterm zone="ch-system-udev udevstart"> 144 <primary sortas="b-udevstart">udevstart</primary> 145 </indexterm> 146 </listitem> 147 </varlistentry> 148 149 <varlistentry id="udevinfo"> 150 <term><command>udevinfo</command></term> 151 <listitem> 152 <para>Allows users to query the <command>udev</command> database for 153 information on any device currently present on the system; it also 154 provides a way to query any device in the <systemitem 155 class="filesystem">sysfs</systemitem> tree to help create udev 156 rules</para> 157 <indexterm zone="ch-system-udev udevinfo"> 158 <primary sortas="b-udevinfo">udevinfo</primary> 159 </indexterm> 160 </listitem> 161 </varlistentry> 162 163 <varlistentry id="udevtest"> 164 <term><command>udevtest</command></term> 165 <listitem> 166 <para>Simulates a <command>udev</command> run for the given device, 167 and prints out the name of the node the real <command>udev</command> 168 would have created or (not in LFS) the name of the renamed network 169 interface</para> 170 <indexterm zone="ch-system-udev udevtest"> 171 <primary sortas="b-udevtest">udevtest</primary> 172 </indexterm> 173 </listitem> 174 </varlistentry> 175 176 <varlistentry id="etc-udev"> 177 <term><filename class="directory">/etc/udev</filename></term> 178 <listitem> 179 <para>Contains <command>udev</command> configuation files, 180 device permissions, and rules for device naming</para> 181 <indexterm zone="ch-system-udev etc-udev"> 182 <primary sortas="e-/etc/udev">/etc/udev</primary> 183 </indexterm> 184 </listitem> 185 </varlistentry> 186 187 </variablelist> 188 189 </sect2> 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 75 href="../common/udev.xml" 76 xpointer="xpointer(id('contents-udev'))"/> 190 77 191 78 </sect1> -
introduction/common/changelog.xml
r83ddbcf rc4efa05 46 46 <para>[jim] - Removal of Hotplug.</para> 47 47 </listitem> 48 <listitem> 49 <para>[jim] - Updated to Udev 087.</para> 50 </listitem> 48 51 </itemizedlist> 49 52 </listitem> -
packages.ent
r83ddbcf rc4efa05 263 263 <!ENTITY tree-url "ftp://mama.indstate.edu/linux/tree/tree-&tree-version;.tgz"> 264 264 265 <!ENTITY udev-version "0 76">266 <!ENTITY udev-size " 217KB">265 <!ENTITY udev-version "087"> 266 <!ENTITY udev-size "186 KB"> 267 267 <!ENTITY udev-url "&kernel;linux/utils/kernel/hotplug/udev-&udev-version;.tar.bz2"> 268 268
Note:
See TracChangeset
for help on using the changeset viewer.