X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=README;h=b4c0ee051faa4f014b6fb454ea7b999d2326b7db;hp=a14e5c0fcff04e40b81ab462d236aa12d99fab8e;hb=22e8ccdc02c7bf2e487f5422a7a41bbe6e26962b;hpb=1e03b754aef576a5cb75f01b1805cdc1f9cc292f diff --git a/README b/README index a14e5c0fc..b4c0ee051 100644 --- a/README +++ b/README @@ -1,16 +1,30 @@ udev - userspace device management -For more information see the files in the docs/ directory. +Integrating udev in the system has complex dependencies and differs from distro +to distro. All major distros depend on udev these days and the system may not +work without a properly installed version. The upstream udev project does not +recommend to replace a distro's udev installation with the upstream version. -Important Note: - Integrating udev in the system has complex dependencies and differs from distro - to distro. All major distros depend on udev these days and the system may not - work without a properly installed version. The upstream udev project does not - recommend to replace a distro's udev installation with the upstream version. +Tools and rules shipped by udev are not public API and may change at any time. +Never call any private tool in /lib/udev from any external application, it might +just go away in the next release. Access to udev information is only offered +by udevadm and libudev. Tools and rules in /lib/udev and the entire content of +/dev/.udev/ is private to udev. Requirements: - Version 2.6.25 of the Linux kernel with sysfs, procfs, signalfd, inotify, - unix domain sockets, networking and hotplug enabled. + unix domain sockets, networking and hotplug enabled: + CONFIG_HOTPLUG=y + CONFIG_UEVENT_HELPER_PATH="" + CONFIG_NET=y + CONFIG_UNIX=y + CONFIG_SYSFS=y + CONFIG_SYSFS_DEPRECATED*=n + CONFIG_PROC_FS=y + CONFIG_TMPFS=y + CONFIG_TMPFS_POSIX_ACL=y + CONFIG_INOTIFY=y + CONFIG_SIGNALFD=y - For reliable operation, the kernel must not use the CONFIG_SYSFS_DEPRECATED* option. @@ -27,6 +41,10 @@ Requirements: these group names with only the rootfs mounted, and while no network is available. + - To build all udev extras, libacl, libglib2, libusb, usbutils, pciutils, + gperf are needed. These dependencies can be disabled with the + --disable-extras option. + Operation: Udev creates and removes device nodes in /dev/, based on events the kernel sends out on device discovery or removal.