- Timestamp:
- 03/25/2006 12:29:00 PM (19 years ago)
- Children:
- 6d8d38c
- Parents:
- 1868699
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/udev.xml
r1868699 re44b6e36 57 57 <para>Compile the package:</para> 58 58 59 <screen><userinput>make \ 60 EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id extras/firmware extras/floppy extras/scsi_id extras/usb_id extras/volume_id"</userinput></screen> 59 <screen><userinput>make EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \ 60 extras/firmware extras/floppy extras/scsi_id \ 61 extras/usb_id extras/volume_id"</userinput></screen> 61 62 62 63 <variablelist> … … 78 79 <para>Install the package:</para> 79 80 80 <screen><userinput>make DESTDIR=/ \ 81 EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id extras/firmware extras/floppy extras/scsi_id extras/usb_id extras/volume_id" \ 82 install</userinput></screen> 81 <screen><userinput>make DESTDIR=/ 82 EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \ 83 extras/firmware extras/floppy extras/scsi_id \ 84 extras/usb_id extras/volume_id" install</userinput></screen> 83 85 84 86 <variablelist> … … 131 133 132 134 <screen><userinput>cat > bug.c << EOF 133 /* Simple event recorder */135 <literal>/* Simple event recorder */ 134 136 #define _GNU_SOURCE 135 137 #include <sys/types.h> … … 155 157 free(envz); 156 158 return 0; 157 } 159 }</literal> 158 160 EOF</userinput></screen> 159 161 … … 165 167 166 168 <screen><userinput>cat > /etc/udev/rules.d/90-bug.rules << "EOF" 167 ACTION=="add", RUN+="bug" 169 <literal>ACTION=="add", RUN+="bug"</literal> 168 170 EOF</userinput></screen> 169 171 … … 199 201 <term><command>ata_id</command></term> 200 202 <listitem> 201 <para>Provides <command>udev</command>with a unique string and203 <para>Provides Udev with a unique string and 202 204 additional information (uuid, label) for an ATA drive</para> 203 205 <indexterm zone="ch-system-udev ata_id"> … … 210 212 <term><command>cdrom_id</command></term> 211 213 <listitem> 212 <para>Provides <command>udev</command>with the capabilities of a214 <para>Provides Udev with the capabilities of a 213 215 CD-ROM or DVD-ROM drive</para> 214 216 <indexterm zone="ch-system-udev cdrom_id"> … … 231 233 <term><command>edd_id</command></term> 232 234 <listitem> 233 <para>Provides <command>udev</command> with the EDD ID for a BIOS disk 234 drive</para> 235 <para>Provides Udev with the EDD ID for a BIOS disk drive</para> 235 236 <indexterm zone="ch-system-udev edd_id"> 236 237 <primary sortas="b-edd_id">edd_id</primary> … … 242 243 <term><command>firmware_helper</command></term> 243 244 <listitem> 244 <para>Enables <command>udev</command> to upload firmware to 245 devices</para> 245 <para>Uploads firmware to devices</para> 246 246 <indexterm zone="ch-system-udev firmware_helper"> 247 247 <primary sortas="b-firmware_helper">firmware_helper</primary> … … 253 253 <term><command>scsi_id</command></term> 254 254 <listitem> 255 <para>Provides <command>udev</command>with a unique SCSI identifier255 <para>Provides Udev with a unique SCSI identifier 256 256 based on the data returned from sending a SCSI INQUIRY command to 257 257 the specified device</para> … … 276 276 <term><command>udevd</command></term> 277 277 <listitem> 278 <para>A daemon that reorders hotplug events before submitting them to 279 <command>udev</command>, thus avoiding various race conditions</para> 278 <para>A daemon that listens for uevents on the netlink socket, 279 creates devices and runs the configured external programs in 280 response to these uevents</para> 280 281 <indexterm zone="ch-system-udev udevd"> 281 282 <primary sortas="b-udevd">udevd</primary> … … 287 288 <term><command>udevinfo</command></term> 288 289 <listitem> 289 <para>Allows users to query the <command>udev</command>database for290 <para>Allows users to query the Udev database for 290 291 information on any device currently present on the system; it also 291 292 provides a way to query any device in the <systemitem … … 301 302 <term><command>udevmonitor</command></term> 302 303 <listitem> 303 <para>Prints the event received from the kernel and the e vent which304 <command>udev</command>sends out after rule processing</para>304 <para>Prints the event received from the kernel and the environment 305 which Udev sends out after rule processing</para> 305 306 <indexterm zone="ch-system-udev udevmonitor"> 306 307 <primary sortas="b-udevmonitor">udevmonitor</primary> … … 312 313 <term><command>udevtest</command></term> 313 314 <listitem> 314 <para>Simulates a <command>udev</command> run for the given device, 315 and prints out the name of the node the real <command>udev</command> 316 would have created or (not in LFS) the name of the renamed network 317 interface</para> 315 <para>Simulates a uevent for the given device, and prints out the 316 name of the node the real <command>udevd</command> would have created, 317 or the name of the renamed network interface</para> 318 318 <indexterm zone="ch-system-udev udevtest"> 319 319 <primary sortas="b-udevtest">udevtest</primary> … … 325 325 <term><command>usb_id</command></term> 326 326 <listitem> 327 <para>Provides <command>udev</command>with information about USB327 <para>Provides Udev with information about USB 328 328 devices</para> 329 329 <indexterm zone="ch-system-udev usb_id"> … … 336 336 <term><command>vol_id</command></term> 337 337 <listitem> 338 <para>Provides <command>udev</command>with the label and uuid of a338 <para>Provides Udev with the label and uuid of a 339 339 filesystem</para> 340 340 <indexterm zone="ch-system-udev vol_id"> … … 347 347 <term><filename class="directory">/etc/udev</filename></term> 348 348 <listitem> 349 <para>Contains <command>udev</command>configuation files,349 <para>Contains Udev configuation files, 350 350 device permissions, and rules for device naming</para> 351 351 <indexterm zone="ch-system-udev etc-udev">
Note:
See TracChangeset
for help on using the changeset viewer.