Tuesday, December 14, 2010
【 Weak current College 】 most precise methods of hard disk partitions of integers
[Reference] hard disk partition method in General integer arithmetic (from computer newspaper): the partition size = (partition size-1) × 4 + 1024 × partition size
If the hard disk partition integer G formula X-1) * 4 + 1024 * X = Y where x is that you want to get the numeric value of the integer division, unit is G, Y is the partition you should enter the number, the unit is M,
For example, 40GB = (40-1) × 4 + 1024 × 40 = 41116MB according to this calculation method:
5G=5136MB
10G=10276MB
15G=15416MB
20G=20556MB
30G=30836MB
40G=41116MB
30G, enter data, such as 10G you enter 10276, in Windows Explorer, which shows exactly the 10.00GB and management tools-disk management interface displays is 10.04GB, if you enter 41116 40G, in Windows Explorer, which shows exactly the 40.01GB.
Therefore, the above formula is also not very accurate.
The most accurate algorithms for hard disk partition as follows (from Web search):
Hard disk General 255 heads, 63 sectors, each cylinder size is:
512bytex255x63=8225280bytes=7.84423828125MB
If you want to divide, then to 40GB 40x1024MB = 40960MB
Number of cylinders required for 40960 ÷ 7.84423828125 = 5221.66
Integer as a cylindrical 5222
Share M $ 5222x7.84423828125 = 40962.6123046875MB
Regardless of the decimal point followed by a few bits into 1, 40963MB, Windows considers 40GB.
This method is a generic NTFS and FAT32.
The following report 10GB 200GB whole 10GB increment to the precise calculations:
10GB=10245MB
20GB=20482MB
30GB=30726MB
40GB=40963MB
50GB=51208MB
60GB=61444MB
70GB=71681MB
80GB=81926MB
90GB=92162MB
100GB=102407MB
110GB=112644MB
120GB=122888MB
130GB=133125MB
140GB=143362MB
150GB=153606MB
160GB=163843MB
170GB=174088MB
180GB=184324MB
190GB=194561MB
r>This results in precise partition management tools-disk management interface and Windows Explorer which shows the integer that 10G is 10.00GB, 20G is 20.00GB, 40G is 40.00GB.
Labels:
[:]
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment