- Udev creates and removes device nodes in /dev/, based on events the kernel
- sends out on device discovery or removal.
-
- - Early in the boot process, the /dev/ directory should get a 'tmpfs'
- filesystem mounted, which is maintained by udev. Created nodes or changed
- permissions will not survive a reboot, which is intentional.
-
- - The content of /lib/udev/devices/ directory which contains the nodes,
- symlinks and directories, which are always expected to be in /dev, should
- be copied over to the tmpfs mounted /dev, to provide the required nodes
- to initialize udev and continue booting.
-
- - The old hotplug helper /sbin/hotplug should be disabled in the kernel
- configuration, it is not needed, and may render the system unusable
- because of a fork-bombing behavior.
-
- - All kernel events are matched against a set of specified rules in
- /lib/udev/rules.d/ which make it possible to hook into the event
- processing to load required kernel modules and setup devices. For all
- devices the kernel exports a major/minor number, udev will create a
- device node with the default kernel name, or the one specified by a
- matching udev rule.
-
-Please direct any comment/question/concern to the linux-hotplug mailing list at:
- linux-hotplug@vger.kernel.org
+ - Udev creates/removes device nodes in /dev, based on events the kernel
+ sends out on device creation/removal.
+
+ - All kernel events are matched against a set of specified rules, which
+ possibly hook into the event processing and load required kernel
+ modules to setup devices. For all devices the kernel exports a major/minor
+ number, if needed, udev will create a device node with the default kernel
+ name. If specified, udev applies permissions/ownership to the device
+ node, creates additional symlinks pointing to the node, and executes
+ programs to handle the device.
+
+ - The events udev handles, and the information udev merges into its device
+ database, can be accessed with libudev:
+ http://www.kernel.org/pub/linux/utils/kernel/hotplug/libudev/
+ http://www.kernel.org/pub/linux/utils/kernel/hotplug/gudev/