[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <f36b08ee0701041427u7aee90b7j46b06c3b7dd252bd@mail.gmail.com>
Date: Fri, 5 Jan 2007 00:27:34 +0200
From: "Yakov Lerner" <iler.ml@...il.com>
To: "Kernel Linux" <linux-kernel@...r.kernel.org>
Subject: how to get serial_no from usb HD disk (HDIO_GET_IDENTITY ioctl, hdparm -i)
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists