summaryrefslogtreecommitdiff
path: root/udevd.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-02-02 08:00:07 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:20 -0700
commit8e2229c439f4d0bcf5660457d5a2d6f9d4723e88 (patch)
tree4aa57059da530632dd0d71552cb7c1afbfd04215 /udevd.h
parent53921bfa44129a19661a4aaa4c1647282921fc18 (diff)
[PATCH] udevd - config cleanup
> Here is a small cleanup and better Makefile integration. > udevd and udevsender are now installed. Just switch HOTPLUG_EXEC from ROOT > to SENDER before install and udevsend will be called. > > We may add the location of the socket and lock file to the config, > if this is needed. Same patch with a fix for the stack size setting.
Diffstat (limited to 'udevd.h')
-rw-r--r--udevd.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/udevd.h b/udevd.h
index e24bc28a78..6dbee3a295 100644
--- a/udevd.h
+++ b/udevd.h
@@ -24,18 +24,9 @@
#include "list.h"
-/*
- * FIXME: udev_root is post compile configurable and may also be
- * mounted over at any time and /var/run/ and /tmp/ is unusable,
- * cause it's cleaned at system startup, long _after_ udevd is
- * already running. Should we use udev_init_config()?
- */
-
-#define UDEV_MAGIC "udev_" UDEV_VERSION
+#define UDEV_MAGIC "udevd_" UDEV_VERSION
#define EVENT_TIMEOUT_SEC 5
#define UDEVSEND_CONNECT_RETRY 20 /* x 100 millisec */
-#define UDEVD_SOCKET UDEV_ROOT ".udevd.socket"
-#define UDEVD_LOCK UDEV_ROOT ".udevd.pid"
struct hotplug_msg {
char magic[20];