chiark / gitweb /
[PATCH] fix up the tests to work without all of the environ variables.
[elogind.git] / README
1
2 udev - a userspace implementation of devfs
3
4 For more information on the design, and structure of this project, see the
5 files in the docs/ directory.
6
7 To use:
8
9 - You must be running a 2.6 version of the Linux kernel.
10
11 - Make sure sysfs is mounted.  udev will figure out where sysfs is mounted, but
12   the traditional place for it is at /sys.  You can mount it by hand by running:
13         mount -t sysfs none /sys
14
15 - Make sure you have the latest version of the linux-hotplug scripts.  They are
16   available at linux-hotplug.sf.net or from your local kernel.org mirror at:
17         kernel.org/pub/linux/utils/kernel/hotplug/
18   They are required in order for udev to work properly.
19
20   If for some reason you do not install the hotplug scripts, you must tell the
21   kernel to point the hotplug binary at wherever you install udev at.  This can
22   be done by:
23         echo "/sbin/udev" > /proc/sys/kernel/hotplug
24
25 - Build the project:
26         make
27
28 - Install the project:
29         make install
30
31   This will put the udev binary in /sbin, create the /udev and /etc/udev
32   directories, and place the udev configuration files in /etc/udev.  You
33   will probably want to edit the namedev.* files to create custom naming
34   rules.  More info on how the config files are set up are contained in
35   comments in the files, and is located in the documentation.
36
37 - Add and remove devices from the system and marvel as nodes are created
38   and removed in /udev/ based on the device types.
39
40 - If you later get sick of it, uninstall it:
41         make uninstall
42
43
44 Things are still quite rough, and it's a bit beyond proof of concept
45 code.  Help is very much appreciated, see the TODO file for a list of
46 things left to be done.
47
48 If you want to build using klibc, use the Makefile.klibc file:
49         - read the klibc/klibc/README file for how to set up the linux
50           symlink properly.
51         - make clean
52         - make -f Makefile.klibc
53 and marvel at the tiny binary you just created :)
54
55 Any comment/questions/concerns please let me know.
56
57 greg k-h
58 greg@kroah.com
59
60
61