summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-04-10 10:53:46 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:00:40 -0700
commit85511f02466297b7dca07c3fe5491230f3f06d14 (patch)
tree96c91612dace0878970cfc14ef45634f887146ad /udev.h
parenta2fd2ff38a20d70cdc4487ea43a74da9604c3b54 (diff)
[PATCH] Creating nodes actually works.
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/udev.h b/udev.h
index 83004bb791..458d1d9c37 100644
--- a/udev.h
+++ b/udev.h
@@ -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, ...);