summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-11-23 08:01:57 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 22:37:58 -0700
commitd07557b9b6ba72f50c6b80ea06cecac61cf9eeb1 (patch)
tree19c22eaaf18a81863a31764e633220eb12293316 /udev.h
parentc449b25e3f998efe8f5988632126fb468ee55fc5 (diff)
[PATCH] handle whole hotplug event with udevd/udev
If /proc/sys/kernel/hotplug points to /sbin/udevsend we handle the whole hotplug event with multiplexing /etc/hotplug.d/.
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev.h b/udev.h
index d9a775ae91..e834f1e5b9 100644
--- a/udev.h
+++ b/udev.h
@@ -44,6 +44,9 @@
#define DEVD_DIR "/etc/dev.d"
#define DEVD_SUFFIX ".dev"
+#define HOTPLUGD_DIR "/etc/hotplug.d"
+#define HOTPLUG_SUFFIX ".hotplug"
+
struct udevice {
char devpath[DEVPATH_SIZE];
char subsystem[SUBSYSTEM_SIZE];