From: greg@kroah.com Date: Tue, 25 Nov 2003 07:14:44 +0000 (-0800) Subject: [PATCH] changed the default location of the database to /udev/.udev.tdb to be LSB... X-Git-Tag: 008~37 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49d72e43487164194263d2c80dd27a4627f2169c;p=systemd [PATCH] changed the default location of the database to /udev/.udev.tdb to be LSB compliant Finally the Debian people can get off my back... --- diff --git a/udev.c b/udev.c index a562bc27..094905ec 100644 --- a/udev.c +++ b/udev.c @@ -107,7 +107,7 @@ static void get_dirs(void) } dbg("sysfs_path='%s'", sysfs_path); - strncpy(udev_db_filename, udev_config_dir, sizeof(udev_db_filename)); + strncpy(udev_db_filename, udev_root, sizeof(udev_db_filename)); strncat(udev_db_filename, udev_db, sizeof(udev_db_filename)); strncpy(udev_config_filename, udev_config_dir, sizeof(udev_config_filename)); diff --git a/udev.h b/udev.h index 8e35cb70..89943074 100644 --- a/udev.h +++ b/udev.h @@ -52,7 +52,7 @@ extern int log_message (int level, const char *format, ...) /* filenames for the config and database files */ -#define UDEV_DB "udev.tdb" +#define UDEV_DB ".udev.tdb" #define UDEV_CONFIG_PERMISSION_FILE "udev.permissions" #define UDEV_CONFIG_FILE "udev.config"