%general-entities; ]> Udev-&udev-version; Udev <para>The Udev package contains programs for dynamic creation of device nodes.</para> </sect2> <sect2 role="installation"> <title>Installation of Udev Compile the package: make CROSS_COMPILE="${LFS_TARGET}-" CC="${CC}" LD="${CC}" \ EXTRAS="extras/floppy extras/cdrom_id extras/firmware \ extras/scsi_id extras/volume_id extras/ata_id extras/usb_id \ extras/edd_id extras/dasd_id extras/path_id" udevdir=/dev The meaning of the make parameter: EXTRAS="extras/floppy extras/cdrom_id extras/firmware extras/scsi_id extras/volume_id extras/ata_id extras/usb_id extras/edd_id extras/dasd_id extras/path_id" This builds the helper applications that are used with udev. The helper programs assist in correct handling of devices. Install the package: make DESTDIR="${LFS}" \ EXTRAS="extras/floppy extras/cdrom_id extras/firmware \ extras/scsi_id extras/volume_id extras/ata_id extras/usb_id \ extras/edd_id extras/dasd_id extras/path_id" udevdir=/dev install Install necessary helpers. install -v extras/eventrecorder.sh ${LFS}/lib/udev Install the documentation that explains how to create Udev rules: install -v -m644 -D docs/writing_udev_rules/index.html \ ${LFS}/usr/share/doc/udev-&udev-version;/index.html Create a directory for storing firmware that can be loaded by udev: install -dv ${LFS}/lib/firmware Contents of Udev Installed programs Installed directory udevcontrol, udevd, udevinfo, udevmonitor, udevsend, udevtest, and udevtrigger /etc/udev Short Descriptions udevcontrol Configures a number of options for the running udevd daemon, such as the log level. udevcontrol udevd A daemon that reorders hotplug events before submitting them to udev, thus avoiding various race conditions udevd udevinfo Allows users to query the udev database for information on any device currently present on the system; it also provides a way to query any device in the sysfs tree to help create udev rules udevinfo udevmonitor Prints the event received from the kernel and the event which udev sends out after rule processing udevmonitor udevtest Simulates a udev run for the given device, and prints out the name of the node the real udev would have created or (not in LFS) the name of the renamed network interface udevtest udevtrigger Walks the sysfs tree for devices that need to be added to the system. udevtrigger cdrom_id To be written cdrom_id firmware_helper To be written firmware_helper scsi_id To be written scsi_id volume_id To be written volume_id ata_id To be written ata_id usb_id To be written usb_id edd_id To be written edd_id dasd_id To be written dasd_id /etc/udev Contains udev configuation files, device permissions, and rules for device naming /etc/udev /lib/udev Contains udev helper programs and static devices which get copied to /dev when booted. /lib/udev