diff options
author | greg@kroah.com <greg@kroah.com> | 2003-04-10 10:53:46 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:00:40 -0700 |
commit | 85511f02466297b7dca07c3fe5491230f3f06d14 (patch) | |
tree | 96c91612dace0878970cfc14ef45634f887146ad /udev.h | |
parent | a2fd2ff38a20d70cdc4487ea43a74da9604c3b54 (diff) |
[PATCH] Creating nodes actually works.
Diffstat (limited to 'udev.h')
-rw-r--r-- | udev.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -36,10 +36,21 @@ /* Lots of constants that should be in a config file sometime */ + +/* Location of sysfs mount */ #define SYSFS_ROOT "/sys" + +/* Where udev should create its device nodes, trailing / needed */ +#define UDEV_ROOT "/home/greg/linux/udev/" + +/* device file in sysfs that contains major/minor number, leading / needed */ +#define DEV_FILE "/dev" + +/* Binaries that udev calls to do stuff */ #define MKNOD "/bin/mknod" + extern int log_message (int level, const char *format, ...); |