From: Brian King <brking@us.ibm.com>
To: "Reilley, Peter" <Peter.Reilley@netapp.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: How to map between /dev/sdX and dev/sgX devices?
Date: Thu, 19 Aug 2004 15:58:27 -0500 [thread overview]
Message-ID: <41251473.4060809@us.ibm.com> (raw)
In-Reply-To: <C8CF60CFC4D8A74E9945E32CF096548A022148EE@silver.nane.netapp.com>
Reilley, Peter wrote:
>>-----Original Message-----
>>From: Arjan van de Ven [mailto:arjanv@redhat.com]
>>Sent: Thursday, August 19, 2004 3:13 PM
>>To: Reilley, Peter
>>Cc: linux-scsi@vger.kernel.org
>>Subject: Re: How to map between /dev/sdX and dev/sgX devices?
>>
>>
>>On Thu, 2004-08-19 at 20:35, Reilley, Peter wrote:
>>
>>>What is the correct way to find the corresponding scsi generic
>>>device given the scsi disk node name? I have a situation
>>>where I must issue SCSI pass thru commands to a specific
>>>/dev/sdX node.
>>
>>don't..... use SG_IO on the device directly
>>
>
>
> I don't think that this will work for me.
> I must support the 2.4 kernel as well as the 2.6 kernel.
Does sg_map work for you?
--
Brian King
eServer Storage I/O
IBM Linux Technology Center
next prev parent reply other threads:[~2004-08-19 20:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-19 19:18 How to map between /dev/sdX and dev/sgX devices? Reilley, Peter
2004-08-19 20:58 ` Brian King [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-08-19 18:35 Reilley, Peter
2004-08-19 19:12 ` Arjan van de Ven
2004-08-19 22:07 ` Douglas Gilbert
2004-08-20 0:04 ` Bryan Henderson
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=41251473.4060809@us.ibm.com \
--to=brking@us.ibm.com \
--cc=Peter.Reilley@netapp.com \
--cc=linux-scsi@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.