]> git.ipfire.org Git - thirdparty/systemd.git/blame - README
[PATCH] update the wildcard documentation in the man page to show the new styles...
[thirdparty/systemd.git] / README
CommitLineData
d2ce1817
GKH
1
2udev - a userspace implementation of devfs
3
4For more information on the design, and structure of this project, see the
5files in the docs/ directory.
6
7To use:
8
bf3ca56f 9- You must be running a 2.6 version of the Linux kernel.
d2ce1817 10
bf3ca56f
GKH
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
d2ce1817 14
bf3ca56f
GKH
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.
d2ce1817 19
bf3ca56f
GKH
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
d2ce1817 24
bf3ca56f
GKH
25- Build the project:
26 make
d2ce1817 27
bf3ca56f
GKH
28- Install the project:
29 make install
d2ce1817 30
bf3ca56f
GKH
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
44Things are still quite rough, and it's a bit beyond proof of concept
45code. Help is very much appreciated, see the TODO file for a list of
d2ce1817
GKH
46things left to be done.
47
a34ea8f5 48If you want to build using klibc, use the Makefile.klibc file:
e1b57940 49 - read the klibc/klibc/README file for how to set up the linux
0fba2122
GKH
50 symlink properly.
51 - make clean
52 - make -f Makefile.klibc
a34ea8f5
GKH
53and marvel at the tiny binary you just created :)
54
d2ce1817
GKH
55Any comment/questions/concerns please let me know.
56
57greg k-h
58greg@kroah.com
bf3ca56f 59
a34ea8f5 60
0fba2122 61