%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> </sect2> <sect2 role="installation"> <title>Installation of Udev First compile Udev: make udevdir=/dev udevdir=/dev This tells udev which directory it is to create device nodes in. Install it: 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 udev is used to create device nodes in /dev or to rename network interfaces (not in LFS) in response to hotplug events. udevd udevd is a daemon that reorders hotplug events before submitting them to udev, thus avoiding various race conditions. udevsend udevsend is used to deliver hotplug events to udevd. udevstart 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. udevinfo 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. udevtest 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. /etc/dev.d /etc/dev.d directory is supposed to contain user-written handlers for device creation hotplug events. /etc/udev /etc/udev directory contains udev configuation files, device permissions and rules for device naming.