All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: SG_IO inquiry...
       [not found] <868c9d9d0703052359o31394904m76cbc2d04287813f@mail.gmail.com>
@ 2007-03-06 14:26 ` Douglas Gilbert
  0 siblings, 0 replies; only message in thread
From: Douglas Gilbert @ 2007-03-06 14:26 UTC (permalink / raw)
  To: MASTHAN DUDEKULA; +Cc: linux-scsi

MASTHAN DUDEKULA wrote:
> Hi All,
> 
> By using SG_IO ioctl How can we get device related info (like device
> type--disk,tape,cdrom..etc) ?

If you look at http://www.torque.net/sg/sg3_utils.html
and fetch a tarball (e.g. sg3_utils-1.23.tgz) then have
a look at the examples/sg_simple1.c file.

Doug Gilbert



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-06 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <868c9d9d0703052359o31394904m76cbc2d04287813f@mail.gmail.com>
2007-03-06 14:26 ` SG_IO inquiry Douglas Gilbert

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.