public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* how to get serial_no from usb HD disk (HDIO_GET_IDENTITY ioctl, hdparm -i)
@ 2007-01-04 22:27 Yakov Lerner
  2007-01-06  4:51 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Yakov Lerner @ 2007-01-04 22:27 UTC (permalink / raw)
  To: Kernel Linux

How can I get serial_no from usb-attached HD drive ?

 The HDIO_GET_IDENTITY ioctl fails (like 'hdparm -i').
 Any advice on how to extract the drive serialNo from the usb disk ?
 Can I write kernel module to extract the SerialNo ?
 (I don't need whole 'struct hd_driveid', only the SerialNo).

 Thanks
 Yakov

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-01-06 18:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-04 22:27 how to get serial_no from usb HD disk (HDIO_GET_IDENTITY ioctl, hdparm -i) Yakov Lerner
2007-01-06  4:51 ` Greg KH
2007-01-06 15:15   ` Kay Sievers
2007-01-06 16:59     ` Stephen Clark
2007-01-06 18:02       ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox