chiark / gitweb /
rules: remove SCSI timeouts
[elogind.git] / rules / rules.d / 50-udev-default.rules
index 75a3e6d..5b56e4b 100644 (file)
@@ -1,5 +1,8 @@
 # do not edit this file, it will be overwritten on update
 
+SUBSYSTEM=="block", SYMLINK+="block/%M:%m"
+SUBSYSTEM!="block", SYMLINK+="char/%M:%m"
+
 KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660", OPTIONS+="last_rule"
 KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="0660", OPTIONS+="last_rule"
 KERNEL=="ptmx",                        GROUP="tty", MODE="0666", OPTIONS+="last_rule"
@@ -18,7 +21,7 @@ KERNEL=="lirc0",              SYMLINK+="lirc"
 # mem
 KERNEL=="null|zero|full|random|urandom", MODE="0666"
 KERNEL=="null",                        SYMLINK+="XOR"
-KERNEL=="mem|kmem|port",       GROUP="kmem", MODE="0640"
+KERNEL=="mem|kmem|port|nvram", GROUP="kmem", MODE="0640"
 KERNEL=="ram0",                        SYMLINK+="ramdisk"
 KERNEL=="ram1",                        SYMLINK+="ram"
 
@@ -60,8 +63,6 @@ KERNEL=="irlpt[0-9]*",                GROUP="lp"
 # block, tapes, block-releated
 SUBSYSTEM=="block", GROUP="disk"
 SUBSYSTEM=="block", KERNEL=="sr[0-9]*", SYMLINK+="scd%n"
-SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="0|7|14", ATTR{timeout}="60"
-SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="1", ATTR{timeout}="900"
 KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions"
 KERNEL=="fd[0-9]",             GROUP="floppy"
 KERNEL=="fd[0-9]", ACTION=="add", ATTRS{cmos}=="?*", RUN+="create_floppy_devices -c -t $attr{cmos} -m %M -M 0640 -G floppy $root/%k"