summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg KH <gregkh@suse.de>2005-05-18 23:34:45 -0700
committerGreg KH <gregkh@suse.de>2005-05-18 23:34:45 -0700
commit8d9e468f125ae28d7cd6a0545ecb2a67311cdc1a (patch)
tree0bc0d6416fb88e981a03adb7625782a33327a760
parent13ca17798cd69dd384ddade607ae3a9878622965 (diff)
Update Red Hat default udev rules.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--etc/udev/redhat/udev.rules16
1 files changed, 13 insertions, 3 deletions
diff --git a/etc/udev/redhat/udev.rules b/etc/udev/redhat/udev.rules
index ad60d1a81d..2d4819f8c3 100644
--- a/etc/udev/redhat/udev.rules
+++ b/etc/udev/redhat/udev.rules
@@ -119,7 +119,7 @@ KERNEL=="vttuner", MODE="0660"
KERNEL=="v4l/*", MODE="0660"
# input devices
-KERNEL=="input/*", MODE="0644"
+KERNEL=="input/*", MODE="0660"
# gpm devices
KERNEL=="gpmctl", MODE="0700"
@@ -195,8 +195,18 @@ KERNEL=="sr[0-9]*", SYMLINK="cdrom%e"
KERNEL=="scd[0-9]*", SYMLINK="cdrom%e"
KERNEL=="pcd[0-9]*", SYMLINK="cdrom%e"
KERNEL=="fd[0-9]*", SYMLINK="floppy%e"
-KERNEL=="nst[0-9]", SYMLINK="tape%e"
-KERNEL=="nosst[0-9]*", SYMLINK="tape%e"
+KERNEL=="nst[0-9]", BUS=="scsi", SYMLINK="tape%e"
+KERNEL=="nosst[0-9]", BUS=="scsi", SYMLINK="tape%e"
+
+KERNEL=="umad*", NAME="infiniband/%k"
+KERNEL=="issm*", NAME="infiniband/%k"
+
+# Section for zaptel device
+KERNEL=="zapctl", NAME="zap/ctl"
+KERNEL=="zaptimer", NAME="zap/timer"
+KERNEL=="zapchannel", NAME="zap/channel"
+KERNEL=="zappseudo", NAME="zap/pseudo"
+KERNEL=="zap[0-9]*", NAME="zap/%n"
# do not seperate the next 2 lines!!
KERNEL=="hd[a-z]", BUS=="ide", SYSFS{removable}=="1", PROGRAM=="/etc/udev/scripts/ide-media.sh %k", RESULT=="floppy", SYMLINK="floppy%e", NAME{ignore_remove, all_partitions}="%k"