chiark / gitweb /
remove example rules and put the dev.d stuff into the run_directory folder
[elogind.git] / etc / udev / udev.rules.devfs
index 3934fc69840b981ddc81d8cce633206e7b6c0c76..b7b2c4e12d49e42b03f6aadf0fad35649d64c83e 100644 (file)
@@ -1,3 +1,9 @@
+# The use of these rules is not recommended or supported.
+# In a world where devices can come and go at any time, the devfs scheme
+# of simple device enumeration does not help _anything_. Just forget about
+# it. Use custom rules to name your device or look at the persistent device
+# naming scheme, which is implemented for disks and add your subsystem.
+
 # There are a number of modifiers that are allowed to be used in some of the
 # fields.  See the udev man page for a full description of them.
 
@@ -93,3 +99,13 @@ KERNEL="route6",     NAME="netlink/%k"
 KERNEL="ip6_fw",       NAME="netlink/%k"
 KERNEL="dnrtmsg",      NAME="netlink/%k"
 KERNEL="tap*",         NAME="netlink/%k"
+
+# CAPI devices
+KERNEL="capi",         NAME="capi20", SYMLINK="isdn/capi20"
+KERNEL="capi*",                NAME="capi/%n"
+
+# Network devices
+KERNEL="tun",          NAME="net/%k"
+
+# raw devices
+KERNEL="raw[0-9]*",     NAME="raw/%k"