Re: How to determine the size of cylinder?

From: Lew Pitcher (lpitcher_at_sympatico.ca)
Date: 11/30/04

  • Next message: Pascal Bourguignon: "Re: How to determine the size of cylinder?"
    Date: Mon, 29 Nov 2004 21:57:21 -0500
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    linuxquestion@yahoo.com wrote:
    > Dear experts,
    [snip]
    > - for a given hard drive, how can I tell the size of the cylinder?

    For the purposes of partition placement, fdisk will tell you the 'size of the
    cylinder' of any installed hard drive

      ~ $ sudo /sbin/fdisk -l /dev/hda

      Disk /dev/hda: 20.4 GB, 20490559488 bytes
      255 heads, 63 sectors/track, 2491 cylinders
      Units = cylinders of 16065 * 512 = 8225280 bytes

    Or, you can examine the contents of /proc/ide/<drive_id>/geometry

      ~ $ cat /proc/ide/hda/geometry
      physical 39703/16/63
      logical 2491/255/63

    - --
    Lew Pitcher

    Master Codewright & JOAT-in-training | GPG public key available on request
    Registered Linux User #112576 (http://counter.li.org/)
    Slackware - Because I know what I'm doing.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD8DBQFBq+GRagVFX4UWr64RArwgAJoDCqbdzil93NAmM2f24jU8TVTiVwCgjAeX
    iOH3RBYqnpBpPK4zmct9+nk=
    =Kqi7
    -----END PGP SIGNATURE-----


  • Next message: Pascal Bourguignon: "Re: How to determine the size of cylinder?"

    Relevant Pages

    • Re: How to determine the size of cylinder?
      ... > - for a given hard drive, how can I tell the size of the cylinder? ... For the purposes of partition placement, fdisk will tell you the 'size of the ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
      (microsoft.public.windowsxp.hardware)
    • Re: How to determine the size of cylinder?
      ... > - for a given hard drive, how can I tell the size of the cylinder? ... For the purposes of partition placement, fdisk will tell you the 'size of the ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
      (comp.os.linux.setup)
    • Re: How to determine the size of cylinder?
      ... > - for a given hard drive, how can I tell the size of the cylinder? ... For the purposes of partition placement, fdisk will tell you the 'size of the ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
      (comp.os.linux.misc)
    • Re: How to determine the size of cylinder?
      ... > - for a given hard drive, how can I tell the size of the cylinder? ... For the purposes of partition placement, fdisk will tell you the 'size of the ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
      (alt.os.linux)
    • Re: Liquid Level Sensor: How ?
      ... cnctut wrote: ... Drag force on a cylinder' thread. ...
      (sci.physics)