Skip to contentSkip to conversation

scsi media changer support

PATCH In review Avi Kivity 1 participant 2 messages Feb 11, 2006

lore
Share & tools
lore

Avi Kivity

author
#0 lore raw

PATCH 1/1 scsi media changer support

add support for scsi media changers

etc/udev/redhat/udev.rules renamed from etc/udev/redhat/udev.rules~media-changer +1 -0
@@ -210,6 +210,7 @@
 KERNEL="nst[0-9]", BUS="scsi", 	SYMLINK+="tape%e", MODE="0660"
 KERNEL="nosst[0-9]", BUS="scsi", 	SYMLINK+="tape%e", MODE="0660"
 KERNEL="sg[0-9]*", BUS="scsi", SYSFS{type}="6", SYMLINK+="scanner%e", MODE="0660"
+KERNEL="sg[0-9]*", BUS="scsi", SYSFS{type}="8", SYMLINK+="media-changer%e", MODE="0660"
 
 KERNEL="umad*", 		NAME="infiniband/%k"
 KERNEL="issm*", 		NAME="infiniband/%k"
Signature · 13 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
author
#1 lore raw

Avi Kivity wrote a little too soon:

Quoted 3 lines

add support for scsi media changers

mtx(1) defaults to opening /dev/changer, so perhaps

etc/udev/redhat/udev.rules renamed from etc/udev/redhat/udev.rules~media-changer +1 -0
@@ -210,6 +210,7 @@
 KERNEL="nst[0-9]", BUS="scsi", 	SYMLINK+="tape%e", MODE="0660"
 KERNEL="nosst[0-9]", BUS="scsi", 	SYMLINK+="tape%e", MODE="0660"
 KERNEL="sg[0-9]*", BUS="scsi", SYSFS{type}="6", SYMLINK+="scanner%e", MODE="0660"
+KERNEL="sg[0-9]*", BUS="scsi", SYSFS{type}="8", SYMLINK+="changer%e", MODE="0660"
 
 KERNEL="umad*", 		NAME="infiniband/%k"
 KERNEL="issm*", 		NAME="infiniband/%k"

is better.

Signature · 13 lines
Do not meddle in the internals of kernels, for they are subtle and quick to panic.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel