public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: Pat LaVarre <p.lavarre@ieee.org>
Cc: linux-scsi@vger.kernel.org
Subject: Re: sg_scan -i /dev/sg[0123] /dev/hd[abcd] /dev/scd[0123]
Date: Fri, 12 Dec 2003 23:00:35 +1000	[thread overview]
Message-ID: <3FD9BBF3.1030209@torque.net> (raw)
In-Reply-To: <1071172941.2868.26.camel@patibmrh9>

Pat LaVarre wrote:
> Doug G:
> 
> Thank you, I see sg_scan now lets me name the devices to scan, including
> lk 2.6 block devices:
> 
> The inline patch of this e-mail then also omits and scans past the
> "Stopping because there are too many error" message in configurations
> with few devices present, ....

Pat,
Patch applied, uploaded to the sg webpage.

Willem Riede wrote:
 > > Maybe sg_scan should renamed sam_scan (sadly apart from INQUIRYs
 > > on st and osst devices).
 >             ^^^^
 > Is there something I can/should do to enable that?

No, the problem is in sg_scan. The version I just uploaded
falls back to the SCSI_IOCTL_SEND_COMMAND if the SG_IO
ioctl fails. This should make INQUIRYs work on st and osst
devices.

Doug Gilbert



  reply	other threads:[~2003-12-12 13:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-06  0:27 sg_scan -i /dev/sg[0123] /dev/hd[abcd] /dev/scd[0123] Pat LaVarre
2003-12-08  8:11 ` Douglas Gilbert
2003-12-08 17:39   ` Pat LaVarre
2003-12-08 17:58   ` Pat LaVarre
2003-12-08 18:29     ` Pat LaVarre
2003-12-11 20:02       ` Pat LaVarre
2003-12-12 13:00         ` Douglas Gilbert [this message]
2003-12-14 22:30           ` Pat LaVarre
2003-12-10 18:14     ` Pat LaVarre
2003-12-11  1:07   ` Willem Riede

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=3FD9BBF3.1030209@torque.net \
    --to=dougg@torque.net \
    --cc=linux-scsi@vger.kernel.org \
    --cc=p.lavarre@ieee.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox