]> git.ipfire.org Git - thirdparty/systemd.git/blame - README
[PATCH] added 0.2 change log info.
[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
9- Edit the udev.h file and replace the following variables with values
10 that make sense for your system:
cee360d3 11 #define UDEV_ROOT "/udev/"
d2ce1817
GKH
12 #define MKNOD "/bin/mknod"
13 The only value most people will have to change is the UDEV_ROOT
14 variable, as I doubt you really want device nodes to be created in my
15 home directory :)
16
17- Run make to build the project.
18
19- Make sure sysfs is mounted.
20
21- Point /proc/sys/kernel/hotplug at the location of the udev binary that
22 is created. Then plug some block devices in, or other types of
23 devices that create dev files in sysfs. An easy way to do this,
24 without any hardware is to use the scsi_debug module to create virtual
25 scsi devices.
26
27- Watch as the nodes get created and removed.
28
29
30Yes this is a really rough first cut, I know. It's mostly a proof of
31concept that this can actually work. See the TODO file for a list of
32things left to be done.
33
34Any comment/questions/concerns please let me know.
35
36greg k-h
37greg@kroah.com