The Udev package contains programs for dynamic creation of device nodes.
Compile the package:
This tells udev in which directory devices nodes are to be created.
To test the results, issue: make test.
Install the package:
make DESTDIR=/ udevdir=/dev install
The meaning of the make option:
This prevents the Udev build process from killing any udevd processes that may be running on the host system.
Udev's configuration is far from ideal by default, so install the configuration files here:
cp -v ../udev-config-4.rules /etc/udev/rules.d/25-lfs.rules
Run the udevstart program to create our full complement of device nodes.
Creates device nodes in /dev or renames network interfaces (not in LFS) in response to hotplug events
A daemon that reorders hotplug events before submitting them to udev, thus avoiding various race conditions
Delivers hotplug events to udevd
Creates 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
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
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
Contains udev configuation files, device permissions, and rules for device naming