summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
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, ...);