README revision 600b2584566a44b8a57f546f5ce27f5b1cce21d6
337eebb936be1da1215535e866965ce54c82d755Lennart Poetteringudev - Linux userspace device management
d42d27ead91e470cb12986d928441e56c0f543caLennart PoetteringIntegrating udev in the system has complex dependencies and may differ from
91f9dcaf9270fe465525638cc08bd94590273349Lennart Poetteringdistribution to distribution. A system may not be able to boot up or work
f401e48c2db22ff9d1a05885b5599bebf19c2707Lennart Poetteringreliably without a properly installed udev version. The upstream udev project
f401e48c2db22ff9d1a05885b5599bebf19c2707Lennart Poetteringdoes not recommend replacing a distro's udev installation with the upstream
8e1bd70d4ce6d3881c1df6a6482643a2b3a69bb1Lennart PoetteringThe upstream udev project's set of default rules may require a most recent
8cf3a8a982661c0bb9b04ff27f6d486b38b1b35eLennart Poetteringkernel release to work properly. This is currently version 2.6.31.
e0e1580aae5913870933518f3cb7055730ce3a49Lennart PoetteringTools and rules shipped by udev are not public API and may change at any time.
306a7fd82e790b3c00ba5cf806ccd6c0108061b5Lennart PoetteringNever call any private tool in /lib/udev from any external application; it might
335aa753fa60ba0bb3c9fe679c761d5f1f3b1588Lennart Poetteringjust go away in the next release. Access to udev information is only offered
335aa753fa60ba0bb3c9fe679c761d5f1f3b1588Lennart Poetteringby udevadm and libudev. Tools and rules in /lib/udev and the entire contents of
335aa753fa60ba0bb3c9fe679c761d5f1f3b1588Lennart Poetteringthe /dev/.udev directory are private to udev and do change whenever needed.
46574a5b4afeac0c3f69f15ce47c460309cb9becLennart Poettering - Version 2.6.27 of the Linux kernel with sysfs, procfs, signalfd, inotify,
46574a5b4afeac0c3f69f15ce47c460309cb9becLennart Poettering unix domain sockets, networking and hotplug enabled:
46574a5b4afeac0c3f69f15ce47c460309cb9becLennart Poettering CONFIG_HOTPLUG=y
85ed27f699939f75b8422ae67e016bdf9f439da9Lennart Poettering CONFIG_UEVENT_HELPER_PATH=""
afbf835326b0cc05c282b43f14ed501977de2004Lennart Poettering CONFIG_SYSFS=y
4bb2357f77c875976de5e238a5783e4e136b37b5Lennart Poettering CONFIG_SYSFS_DEPRECATED*=n
4bb2357f77c875976de5e238a5783e4e136b37b5Lennart Poettering CONFIG_PROC_FS=y
93a45c562a1989dfbb2dd08c65f8a21b02959934Lennart Poettering CONFIG_TMPFS=y
addab137cd8d318e4f543ca56018ee23d51aaca9Lennart Poettering CONFIG_INOTIFY_USER=y
b2423f1f436f847d9fc96a63679be2b5552b6bafLennart Poettering CONFIG_SIGNALFD=y
449ddb2d23a63ca4c8cd70d13a070fba87c1fb30Lennart Poettering CONFIG_TMPFS_POSIX_ACL=y (user ACLs for device nodes)
97c4a07df982ee967705022feaba9be33947abf0Lennart Poettering CONFIG_BLK_DEV_BSG=y (SCSI devices)
f61448083198dc0e4e0d19a916bcd478336cc85dLennart Poettering - Udev will not work with the CONFIG_SYSFS_DEPRECATED* option.
6e200d55ae538fc29360cdaa9863f30cdddf58f3Lennart Poettering - Unix domain sockets (CONFIG_UNIX) as a loadable kernel module may work,
dfac97b21e00cd3617ba817227db7b621841b5ccLennart Poettering but it is not supported.
5e6afdd3d359fc42de7ac432243e98673577e81fLennart Poettering - The deprecated hotplug helper /sbin/hotplug should be disabled in the
cd6d0a456bc9c45fa79316fc5896e4a3ae75a30bLennart Poettering kernel configuration, it is not needed today, and may render the system
cd6d0a456bc9c45fa79316fc5896e4a3ae75a30bLennart Poettering unusable because the kernel may create too many processes in parallel
c24eb49e6aecd6de2ad450083e826d4c9d9c75b6Lennart Poettering so that the system runs out-of-memory.
9cf2578683de834026f501c24a0f5d3d0991d0a6Dave Reisner - The proc filesystem must be mounted on /proc, the sysfs filesystem must
f13b388f97bc3ba8db844bd3413d510e2466a0b6Kay Sievers be mounted at /sys. No other locations are supported by a standard
f13b388f97bc3ba8db844bd3413d510e2466a0b6Kay Sievers udev installation.
/sbin/udevadm trigger --type=subsystems
/sbin/udevadm trigger --type=devices
- New/changed rule files are picked up automatically; there is no daemon
- Udev creates/removes device nodes in /dev, based on events the kernel
sends out on device creation/removal.
modules to setup devices. For all devices the kernel exports a major/minor
name. If specified, udev applies permissions/ownership to the device
Please direct any comment/question to the linux-hotplug mailing list at: