summaryrefslogtreecommitdiff
path: root/extras/run_directory/README
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-08-09 20:11:26 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-09 20:11:26 +0200
commita37610d0f885ee301fd99757beb9fd7af729307f (patch)
treeeeb6913ba7c6a95f591b9b3db4f84b5277d791cd /extras/run_directory/README
parent34c00c915c6dd9d063551732169cb3c3126376ad (diff)
remove example rules and put the dev.d stuff into the run_directory folder
The distro rules are the best example you can get and the use of dev.d/ is no longer recommended. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'extras/run_directory/README')
-rw-r--r--extras/run_directory/README17
1 files changed, 17 insertions, 0 deletions
diff --git a/extras/run_directory/README b/extras/run_directory/README
new file mode 100644
index 0000000000..022c66451c
--- /dev/null
+++ b/extras/run_directory/README
@@ -0,0 +1,17 @@
+Use these binaries only if you need backward compatibility with
+older udev versions. The use of /etc/dev.d/ is no longer recommended
+Use explicit udev rules with RUN keys to hook into the processing.
+
+ /etc/dev.d/ + /etc/hotplug.d/ directory multiplexing is completely
+ removed from udev itself and must be emulated by calling small
+ helper binaries provided by these helpers:
+ make EXTRAS=extras/run_directory/
+ will build udev_run_devd and udev_run_hotplugd, which can be called
+ from a rule if needed:
+ RUN+="/sbin/udev_run_hotplugd"
+ The recommended way to handle this is to convert all the calls from
+ the directories to explicit udev rules and get completely rid of the
+ multiplexing. (To catch a ttyUSB event, you now no longer need to
+ fork and exit 300 tty script instances you are not interested in, it
+ is just one rule that matches exactly the device.)
+