All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@argo.co.il>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] scsi media changer support
Date: Sat, 11 Feb 2006 20:19:47 +0000	[thread overview]
Message-ID: <43EE46E3.7040005@argo.co.il> (raw)
In-Reply-To: <43EE4368.7090009@argo.co.il>

Avi Kivity wrote a little too soon:

>add support for scsi media changers
>  
>
mtx(1) defaults to opening /dev/changer, so perhaps

--- udev-084/etc/udev/redhat/udev.rules~media-changer	2006-02-11 21:58:17.000000000 +0200
+++ udev-084/etc/udev/redhat/udev.rules	2006-02-11 21:58:33.000000000 +0200
@@ -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.

-- 
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&kid\x103432&bid#0486&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

      reply	other threads:[~2006-02-11 20:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-11 20:04 [PATCH] scsi media changer support Avi Kivity
2006-02-11 20:19 ` Avi Kivity [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43EE46E3.7040005@argo.co.il \
    --to=avi@argo.co.il \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.