%general-entities; ]> Udev-&udev-version; Udev <para>The Udev package contains programs for dynamic creation of device nodes.</para> <segmentedlist> <segtitle>&dependencies;</segtitle> <seglistitem> <seg>Coreutils, GCC, Make, Perl, and Tree</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Udev Compile the package: make EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev The meaning of the make parameter: EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" This builds the help applications that are used with udev. This helper program assist in correct handling of devices. If you want to run the testsuite, you need to change a hardcoded reference to the test program: sed -i 's@/usr/bin/test@/bin/test@' test/udev-test.pl To test the results, issue: make test. Install the package: make DESTDIR=/ \ EXTRAS="extra/cdrom_id extras/firmware extras/scsi_id extras/volume_id extras/ata_id extras/usb_id extras/edd_id extras/dasd_id" udevdir=/dev install The meaning of the make parameter: DESTDIR=/ This prevents the Udev build process from killing any udevd processes that may be running on the system. Install necessary helpers. install -D extras/path_id /sbin/path_id install -D extras/eventrecorder.sh /lib/udev/eventrecorder.sh Install the documentation that explains how to create Udev rules: install -v -m644 -D docs/writing_udev_rules/index.html /usr/share/doc/udev-&udev-version;/index.html Contents of Udev Installed programs Installed directory udevcontrol, udevd, udevinfo, udevmonitor, udevsend, and udevtest /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 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