On Sunday 22 June 2003 20:17, Tom Bradley wrote: > Is there a function, or other way, to get a harddrives geometry (heads, > sectors, etc...)? Why not just read /proc/ide/ide0/hda/geometry? There is a bunch of useful files with loads of info in the /proc filesystem. Check 'em all out. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/