summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-12-07 20:40:38 +0100
committerKay Sievers <kay.sievers@suse.de>2005-12-07 20:40:38 +0100
commitd992629180a4bbce84c28456057bf4e9c6bfce6e (patch)
treea3cb06be253fc60fbcbc0d6861a0097a336f12c4 /README
parent65e63a710e0369781c3632dd3fc95e4c72f9ab40 (diff)
update README
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'README')
-rw-r--r--README23
1 files changed, 9 insertions, 14 deletions
diff --git a/README b/README
index 9e1aae3452..21a6c186dc 100644
--- a/README
+++ b/README
@@ -31,22 +31,21 @@ Operation:
Udev creates and removes device nodes in /dev, based on events the kernel
sends out on device discovery or removal.
- - Directly after mouting the real root filesystem, wherever that
- happens, in initramfs or with a directly mounted root, /dev should get
- a tmpfs filesystem mounted, which is populated from scratch by udev.
- Created nodes or changed permissions don't survive a reboot.
+ - Early in the boot process, /dev should get a tmpfs filesystem
+ mounted, which is populated from scratch 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
+ 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 udevd daemon must be started by an init script to receive netlink
- events from the kernel driver core.
+ uevents from the kernel driver core.
- From kernel version 2.6.15 on, the hotplug helper /sbin/hotplug should
- be disabled with an init script before the boot scripts are run and
- kernel modules are loaded.
+ be disabled with an init script before actions like loading kernel
+ modules are taken, which may cause a lot of events.
- All kernel events are matched against a set of specified rules in
/etc/udev/rules.d/ which make it possible to hook into the event
@@ -56,12 +55,8 @@ Operation:
Compile Options:
- prefix
- Set this to the default root that you want to use. Only override
- this if you really know what you are doing, even then, you probably
- don't do the right thing.
DESTDIR
- Prefix for install target, used for package building.
+ Prefix of install target, used for package building.
USE_LOG
If set to 'true', udev is able to pass errors or debug information
to syslog. This is very useful to see what udev is doing or not doing.
@@ -95,7 +90,7 @@ Installation:
- The default location for scripts and binaries that are called from
rules is /lib/udev. Other packages who install udev rules, should use
- that diretory too.
+ that directory too.
- It is recommended to use the /lib/udev/devices directory to place
device nodes and symlinks in, which are copied to /dev at every boot.