From: "Yakov Lerner" <iler.ml@gmail.com>
To: "Kernel Linux" <linux-kernel@vger.kernel.org>
Subject: how to get serial_no from usb HD disk (HDIO_GET_IDENTITY ioctl, hdparm -i)
Date: Fri, 5 Jan 2007 00:27:34 +0200 [thread overview]
Message-ID: <f36b08ee0701041427u7aee90b7j46b06c3b7dd252bd@mail.gmail.com> (raw)
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
next reply other threads:[~2007-01-04 22:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-04 22:27 Yakov Lerner [this message]
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
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=f36b08ee0701041427u7aee90b7j46b06c3b7dd252bd@mail.gmail.com \
--to=iler.ml@gmail.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®