diff options
author | greg@kroah.com <greg@kroah.com> | 2004-04-21 17:43:17 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:35:16 -0700 |
commit | 3a0b657b76ea3844e8bc7f742adba1d7f16f7d2c (patch) | |
tree | 8dc4cb1d4355125349360692bee79eeefd345595 /etc/udev | |
parent | 56dbd7dfb000f082d34f36883873f2f266725494 (diff) |
[PATCH] added rules for tun and raw devices
Diffstat (limited to 'etc/udev')
-rw-r--r-- | etc/udev/udev.rules | 6 | ||||
-rw-r--r-- | etc/udev/udev.rules.devfs | 10 | ||||
-rw-r--r-- | etc/udev/udev.rules.gentoo | 6 |
3 files changed, 22 insertions, 0 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules index ef61eafb8d..bc8c8bdd6c 100644 --- a/etc/udev/udev.rules +++ b/etc/udev/udev.rules @@ -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" diff --git a/etc/udev/udev.rules.devfs b/etc/udev/udev.rules.devfs index 3934fc6984..867f95029c 100644 --- a/etc/udev/udev.rules.devfs +++ b/etc/udev/udev.rules.devfs @@ -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" diff --git a/etc/udev/udev.rules.gentoo b/etc/udev/udev.rules.gentoo index ab6f3bd405..1a84baa9d4 100644 --- a/etc/udev/udev.rules.gentoo +++ b/etc/udev/udev.rules.gentoo @@ -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" |