[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091115170556.460ea02d@lxorguk.ukuu.org.uk>
Date: Sun, 15 Nov 2009 17:05:56 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Andrey Polovov <andrey.polovov@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Getting HDD serial in kernel space
On Sun, 15 Nov 2009 17:03:56 +0300
Andrey Polovov <andrey.polovov@...il.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
--
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