summaryrefslogtreecommitdiff
path: root/udev.conf.in
diff options
context:
space:
mode:
authorolh@suse.de <olh@suse.de>2003-12-11 08:00:40 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:07 -0700
commit18a0d6522d06338c76d7706f4a246a37e232f31c (patch)
treec33e26b3b3a8586585f78cc0a99c507b232af5e3 /udev.conf.in
parent525d07e78e281f5034ee29d2cd5cc144fe320431 (diff)
[PATCH] use udevdir in udev.conf
udevdir is a define, but udev.conf has a hardcoded path. Maybe this config file should be generated on the fly, like shown below.
Diffstat (limited to 'udev.conf.in')
-rw-r--r--udev.conf.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/udev.conf.in b/udev.conf.in
new file mode 100644
index 0000000000..d06b0b0698
--- /dev/null
+++ b/udev.conf.in
@@ -0,0 +1,23 @@
+# udev.conf
+# The main config file for udev
+#
+# This file can be used to override some of udev's default values
+# for where it looks for files, and where it places device nodes.
+
+
+# udev_root - where in the filesystem to place the device nodes
+udev_root="@udevdir@/"
+
+# udev_db - The name and location of the udev database.
+udev_db="@udevdir@/.udev.tdb"
+
+# udev_rules - The name and location of the udev rules file
+udev_rules="/etc/udev/udev.rules"
+
+# udev_permissions - The name and location of the udev permission file
+udev_permissions="/etc/udev/udev.permissions"
+
+# default_mode - set the default mode for all nodes that have no
+# explicit match in the permissions file
+default_mode="0600"
+