%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 Prepare Udev for compilation: ./configure --prefix=/usr \ --exec-prefix="" --sysconfdir=/etc \ --sbindir=/sbin --libexecdir=/lib/udev \ --libdir=/usr/lib --with-systemdsystemunitdir=/lib/systemd/system \ --disable-extras --disable-introspection Compile the package: make Install the package: make install Create a directory for storing firmware that can be loaded by udev: install -dv /lib/firmware Configuring Udev When systemd starts a tmpfs filesystem is mounted over /dev and the previous entries are no-longer available. The folling command creates files that are copied over when udevd starts: mkdir -pv /lib/udev/devices/{pts,shm} mknod -m 0600 /lib/udev/devices/console c 5 1 mknod -m 0666 /lib/udev/devices/null c 1 3 mknod -m 0666 /lib/udev/devices/zero c 1 5 mknod -m 0600 /lib/udev/devices/kmsg c 1 11 ln -snvf /proc/self/fd /lib/udev/devices/fd ln -snvf /proc/self/fd/0 /lib/udev/devices/stdin ln -snvf /proc/self/fd/1 /lib/udev/devices/stdout ln -snvf /proc/self/fd/2 /lib/udev/devices/stderr ln -snvf /proc/kcore /lib/udev/devices/core Contents of Udev Installed programs Installed library Installed directories ata_id, cdrom_id, collect, create_floppy_devices, edd_id, firmware.sh, fstab_import, path_id, scsi_id, udevadm, udevd, usb_id, v4l_id, write_cd_rules, write_net_rules libudev /etc/udev, /lib/firmware, /lib/udev, /usr/share/doc/udev Short Descriptions udevadm Controls the runtime behavior of Udev, requests kernel events, manages the event queue, and provides simple debugging. udevadm udevd A daemon that reorders hotplug events before submitting them to udev, thus avoiding various race conditions udevd ata_id Provides Udev with a unique string and additional information (uuid, label) for an ATA drive ata_id cdrom_id Prints the capabilities of a CDROM or DVDROM drive. cdrom_id collect DESCRIPTION REQUIRED collect create_floppy_devices Creates all possible floppy devices based on the CMOS type create_floppy_devices edd_id Identifies x86 disk drives from Enhanced Disk Drive calls edd_id firmware.sh Script to load firmware for a device firmware.sh fstab_import DESCRIPTION REQUIRED fstab_import path_id Provides the shortest possible unique hardware path to a device path_id scsi_id Retrieves or generates a unique SCSI identifier. scsi_id usb_id Identifies a USB block device. usb_id v4l_id DESCRIPTION REQUIRED v4l_id write_cd_rules DESCRIPTION REQUIRED write_cd_rules write_net_rules DESCRIPTION REQUIRED write_net_rules libudev DESCRIPTION REQUIRED libudev /etc/udev Contains udev configuration 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