Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, Can anybody give the command which gives Harddisk details like Mode, Size, Interface type, totoal cylinders, totoal heads, totoal sector etc... Regds, Venu.G...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Location
    Bangalore
    Posts
    4

    linux command to know hard disk details


    Hi,
    Can anybody give the command which gives Harddisk details like Mode, Size, Interface type, totoal cylinders, totoal heads, totoal sector etc...

    Regds,
    Venu.G

  2. #2
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    766
    About the best you're going to get is fdisk -l

    You'll get most of the info you're looking for. The command must be run as root.
    Registered Linux user #384279
    Vector Linux SOHO 7

  3. #3
    Linux User Krendoshazin's Avatar
    Join Date
    Feb 2005
    Location
    London, England
    Posts
    471
    hdparm is what you're looking for
    Code:
    hdparm -I /dev/hda
    Screenshot: http://web01.slackhost.net/~admin74/pictures/hdparm.png
    you need to be root to use it, if you don't have it you can get it here
    http://sourceforge.net/projects/hdparm/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •