mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@steeleye.com>
To: Kurt Garloff <kurt@garloff.de>,
	Oliver Neukum <oliver@neukum.name>,
	dougg@torque.net, Linux SCSI list <linux-scsi@vger.kernel.org>,
	Linux kernel list <linux-kernel@vger.kernel.org>,
	James Bottomley <James.Bottomley@SteelEye.com>,
	David Brownell <david-b@pacbell.net>,
	Andries.Brouwer@cwi.nl, sancho@dauskardt.de,
	linux-usb-devel@lists.sourceforge.net,
	linux1394-devel@lists.sourceforge.net
Subject: Re: [garloff@suse.de: Re: [linux-usb-devel] Re: /proc/scsi/map]
Date: Mon, 17 Jun 2002 09:29:11 -0500	[thread overview]
Message-ID: <200206171429.g5HETBV02481@localhost.localdomain> (raw)
In-Reply-To: Message from Kurt Garloff <kurt@garloff.de>  of "Mon, 17 Jun 2002 03:24:00 +0200." <20020617012400.GH21461@gum01m.etpnet.phys.tue.nl>

kurt@garloff.de said:
> This may work for your disks. You just can't open the device node for
> a tape, if there is no medium inserted. If you know the mapping
> between to a sg device you can use it.

Actually, you have to use sg for a disc as well since you send a scsi CDB 
directly to the device for inquiry page 0x83.

> That's the second piece of information that /proc/scsi/map provides. 

Oh no question.  The way the current code doing this works is that it opens 
all scsi devices and issues a GET_IDLUN to compile a database of the nodes and 
then matches them up to sg nodes.

James



      reply	other threads:[~2002-06-17 14:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-17  1:24 Kurt Garloff
2002-06-17 14:29 ` James Bottomley [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=200206171429.g5HETBV02481@localhost.localdomain \
    --to=james.bottomley@steeleye.com \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=david-b@pacbell.net \
    --cc=dougg@torque.net \
    --cc=kurt@garloff.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=linux1394-devel@lists.sourceforge.net \
    --cc=oliver@neukum.name \
    --cc=sancho@dauskardt.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®