%general-entities; ]> Udev-&udev-version; Udev <para>The Udev package contains programs for dynamic creation of device nodes.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.2 SBU</seg><seg>5.2 MB</seg></seglistitem> </segmentedlist> <segmentedlist> <segtitle>Udev installation depends on</segtitle> <seglistitem><seg>Coreutils, Make</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Udev Compile Udev: make udevdir=/dev udevdir=/dev This tells udev in which directory devices nodes are to be created. This package does not come with a test suite. Install the package: make udevdir=/dev install Udev's configuration is far from ideal by default, so we install our own configuration files here: cp ../udev-config-2.permissions /etc/udev/permissions.d/00-lfs.permissions cp ../udev-config-1.rules /etc/udev/rules.d/00-lfs.rules Contents of Udev Installed programs udev, udevd, udevsend, udevstart, udevinfo, udevtest Short descriptions udev is used to create device nodes in /dev or to rename network interfaces (not in LFS) in response to hotplug events. udev udevd is a daemon that reorders hotplug events before submitting them to udev, thus avoiding various race conditions. udevd udevsend is used to deliver hotplug events to udevd. udevsend udevstart is used to create device nodes in /dev that correspond to drivers compiled directly into the kernel. It performs that task by simulating hotplug events presumably dropped by the kernel before invocation of this program (e.g. because the root filesystem has not been mounted) and submitting such synthetic hotplug events to udev. udevstart 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 creating udev rules. udevinfo 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 /etc/dev.d directory contains user-written handlers for device creation hotplug events. /etc/dev.d /etc/udev directory contains udev configuation files, device permissions and rules for device naming. /etc/udev