aboutsummaryrefslogtreecommitdiffstats
path: root/udevd.h
diff options
context:
space:
mode:
authorKay Sievers <kay@pim.off.vrfy.org>2005-10-27 21:04:38 +0200
committerKay Sievers <kay@pim.off.vrfy.org>2005-10-27 21:04:38 +0200
commitc895fd002763d6ae808e820020dc54e74c347fc2 (patch)
treea69368d7235feefacac6647f96a7163ca10b7228 /udevd.h
parent916c5e4725ef4558b752c6464deef6492c8ac31a (diff)
downloadudev-c895fd002763d6ae808e820020dc54e74c347fc2.tar.gz
move rules parsing into daemon
The rules files are parsed only once at daemon startup. Every udev event process will be fork()'d from udevd without exec()'ing the udev binary. The in-memory rules will be inherited from the daemon itself. If inotify is available, udevd will reload all rules if any change in /etc/udev/rules.d/ happens. Otherwise -HUP or "udevcontrol reload_rules" can be used. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevd.h')
-rw-r--r--udevd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/udevd.h b/udevd.h
index da5f6b94..db510ab2 100644
--- a/udevd.h
+++ b/udevd.h
@@ -54,6 +54,7 @@ enum udevd_msg_type {
UDEVD_START_EXEC_QUEUE,
UDEVD_SET_LOG_LEVEL,
UDEVD_SET_MAX_CHILDS,
+ UDEVD_RELOAD_RULES,
};