diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-11-12 06:21:16 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:25:09 -0700 |
commit | 8673dcb84299fd2adba6281c5359bed4399d5b2d (patch) | |
tree | 9db3b5d4e7218b098c53d62b8805c9c9368a78af /udev.h | |
parent | af4b05d4917fdfa55eff3d8d53a830464d8162a1 (diff) |
[PATCH] Make dev.d/ handling a separate processing stage
Move the logic when and how to call the dev.d/ scripts into the
main processing path.
Diffstat (limited to 'udev.h')
-rw-r--r-- | udev.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -41,6 +41,9 @@ #define LINE_SIZE 256 +#define DEVD_DIR "/etc/dev.d" +#define DEVD_SUFFIX ".dev" + struct udevice { char devpath[DEVPATH_SIZE]; char subsystem[SUBSYSTEM_SIZE]; @@ -71,7 +74,7 @@ extern int udev_remove_device(struct udevice *udev); extern void udev_init_config(void); extern int udev_start(void); extern int parse_get_pair(char **orig_string, char **left, char **right); -extern void dev_d_execute(struct udevice *udev); +extern void dev_d_execute(struct udevice *udev, const char *basedir, const char *suffix); extern char sysfs_path[SYSFS_PATH_MAX]; extern char udev_root[PATH_MAX]; |