chiark / gitweb /
[PATCH] added rules for tun and raw devices
authorgreg@kroah.com <greg@kroah.com>
Thu, 22 Apr 2004 00:43:17 +0000 (17:43 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:35:16 +0000 (21:35 -0700)
etc/udev/udev.rules
etc/udev/udev.rules.devfs
etc/udev/udev.rules.gentoo

index ef61eaf..bc8c8bd 100644 (file)
@@ -39,3 +39,9 @@ BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%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" 
index 3934fc6..867f950 100644 (file)
@@ -93,3 +93,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" 
index ab6f3bd..1a84baa 100644 (file)
@@ -124,3 +124,9 @@ 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"