From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Andrey Polovov <andrey.polovov@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Getting HDD serial in kernel space
Date: Sun, 15 Nov 2009 17:05:56 +0000 [thread overview]
Message-ID: <20091115170556.460ea02d@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <4B000A4C.30103@gmail.com>
On Sun, 15 Nov 2009 17:03:56 +0300
Andrey Polovov <andrey.polovov@gmail.com> wrote:
> Andrey Polovov:
>
> > How can I do it in kernel space (it is one hdd in machine, plugged with
> > SATA)?
>
> What I need is a small piece of code that can help me in getting a list
> (ata_device array?) of plugged HDDs and their serial numbers.
That wasn't the question I asked. The question I asked is "what are you
trying to do". You request seems rather odd, especially to try and do in
kernel space, so if we understood what you were trying to do it might
make more sense and easier to suggest the best way to approach it.
Alan
prev parent reply other threads:[~2009-11-15 17:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-14 11:34 Andrey Polovov
2009-11-14 15:28 ` Alan Cox
2009-11-15 14:03 ` Andrey Polovov
2009-11-15 17:05 ` Alan Cox [this message]
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=20091115170556.460ea02d@lxorguk.ukuu.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=andrey.polovov@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®