CyberArmy University | Open Source Institute | CyberArmy Intelligence & Security | CyberArmy Privacy Watch Initiative

anwser....


[Replies] [Reply] [View by Thread] [Help]
[Back To Hardware forum]

Posted by Maj ieetglue On 2003-12-15 12:39:48
In Reply to Harddrive question... Posted by LtKer jehnx On 2003-12-14 03:42:30

Maj
Maj ieetglue


Most hard drive sizes are measured in megabytes and gigabytes but most people do not know that there is a difference between binary and decimal megabytes/gigabytes. The difference is often confusing to people but it's due to the way manufacturers and sofware makers calculate drive capacity. Technically, hard drive capacity is calculated by multiplying the number of cylinders, sectors, and heads times 512 like

Capacity = Cylinders x Heads x Sectors x 512 (bytes per sector)

example:
1654 x 16 x 63 x 512 = 853,622,784 bytes

7752 x 16 x 63 x 512 = 4,000,776,192 bytes

Uh whatever, but manufacturers use MB/GB ! Right? True, to calculate the notaion of MB or GB just divide the drive size by 1,000,000 for MB or 1,000,000,000 for GB

853,622,784/1,000,000 = 853.6MB

4,000,776,192/1,000,000,000 = 4.0GB

Makes sense right? The problem is that many software makers will use binary to calculate drive sizes. A binary MB is 1,048,576 bytes, and a binary GB is 1,073,741,824 bytes so a lot of sofware will report

853,622,784/1,048,576 = 814MB

4,000,776,192/1,073,741,824 = 3.72 GB

So simply put there are two slighty different ways of representing the same drives, both methods are correct. The important issue is the people recognize the difference and not mistake the difference as a problem with the drive. ;)

glue


Replies:


Guest:
Subject:
Message:
Signature:
Optional Image Link:
http://

CyberArmy::Forum v0.6
Generated In 0.02851 seconds


About Us | Privacy Policy | Mission Statement | Help