From: Douglas Gilbert <dougg@torque.net>
To: arjanv@redhat.com
Cc: "Reilley, Peter" <Peter.Reilley@netapp.com>, linux-scsi@vger.kernel.org
Subject: Re: How to map between /dev/sdX and dev/sgX devices?
Date: Fri, 20 Aug 2004 08:07:22 +1000 [thread overview]
Message-ID: <4125249A.30808@torque.net> (raw)
In-Reply-To: <1092942751.2820.5.camel@laptop.fenrus.com>
Arjan van de Ven wrote:
> 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
and if that breaks your app then try the equivalent
sg device to check that you haven't tripped over another
QOI issue.
Doug Gilbert
next prev parent reply other threads:[~2004-08-19 22:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-19 18:35 How to map between /dev/sdX and dev/sgX devices? Reilley, Peter
2004-08-19 19:12 ` Arjan van de Ven
2004-08-19 22:07 ` Douglas Gilbert [this message]
2004-08-20 0:04 ` Bryan Henderson
-- strict thread matches above, loose matches on Subject: below --
2004-08-19 19:18 Reilley, Peter
2004-08-19 20:58 ` Brian King
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=4125249A.30808@torque.net \
--to=dougg@torque.net \
--cc=Peter.Reilley@netapp.com \
--cc=arjanv@redhat.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.