[LCP]Getting list of IDE-drives from kernel?
Aron Stansvik
elvstone at home.se
Tue Dec 10 15:50:01 UTC 2002
How do I get a list of connected IDE-drives directly out of the kernel, without having to use /proc, using an ioctl()-call or similar. I can't find a suitable ioctl()-call in 'man ioctl_list' (I heard ioctl() is disliked among kernel people for organisational reasons, but anyway). I'm new to programming C in linux. Thanks in advance.
Aron Stansvik
-------------- next part --------------
An embedded message was scrubbed...
From: "Aron Stansvik" <elvstone at home.se>
Subject: Getting list of IDE-drives from kernel?
Date: Mon, 09 Dec 2002 18:04:25 +0100
Size: 878
Url: http://lists.linux.org.au/pipermail/linuxcprogramming/attachments/20021210/9688a21e/attachment.eml
More information about the linuxCprogramming
mailing list