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?"
- Previous message: Andy: "Re: My Computer (drives recognition)"
- In reply to: linuxquestion_at_yahoo.com: "How to determine the size of cylinder?"
- Next in thread: Pascal Bourguignon: "Re: How to determine the size of cylinder?"
- Messages sorted by: [ date ] [ thread ]
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?"
- Previous message: Andy: "Re: My Computer (drives recognition)"
- In reply to: linuxquestion_at_yahoo.com: "How to determine the size of cylinder?"
- Next in thread: Pascal Bourguignon: "Re: How to determine the size of cylinder?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|