linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to get inquiry information for /dev/sd? (kernel 2.4.22)
@ 2003-11-13 19:06 Kiniger, Karl (MED)
  0 siblings, 0 replies; only message in thread
From: Kiniger, Karl (MED) @ 2003-11-13 19:06 UTC (permalink / raw)
  To: linux-kernel

Hello,

using kernel 2.4.22:

what is the canonical method to get to know what
scsi/usb/ieee1394 disks are being accessed as /dev/sda, /dev/sdb etc ?
(e.g want to be sure to format the USB pen drive and not the
M/O disk) 

Right now I am playing with SCSI_IOCTL_GET_IDLUN ioctl but I also need
to get at the inquiry information for each disk device, preferably
w/o having to parse /proc/scsi/scsi. 

Thanks for any hints,
Karl 
-- 
Karl Kiniger        karl.kiniger@med.ge.com
GE Medical Kretztechnik
Tiefenbach 15
A-4871 Zipf         Tel: (++43) 7682-3800-710  Fax (++43) 7682-3800-47

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

only message in thread, other threads:[~2003-11-13 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-13 19:06 how to get inquiry information for /dev/sd? (kernel 2.4.22) Kiniger, Karl (MED)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).