I am looking for one inside the kernel. The UDF FS using this information to determine its layout but I don't see where it is getting the information form. On Tuesday 24 June 2003 11:50 am, Artemio wrote: > 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/