lkml.org 
[lkml]   [2009]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Getting HDD serial in kernel space
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


\
 
 \ /
  Last update: 2009-11-15 18:07    [W:0.032 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site