Re: HD params

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux