Wednesday, October 20, 2010

The correct partition, so 1.99G 2G into an integer



Recently found a very strange phenomenon, and many friends, there is a lot like computer 1.99GB, 3.93GB of the class of partition, but in fact we use the FDISK partition of the mind is not the case, and we hope that partition size is an integer such as 2GB, 4GB and so on, and we are obviously in the partition, 1GB = 1024MB according to formula, for example, points to 2GB on the importation of 2048MB. In fact during partition, the direct use 1GB = 1024MB of the formula is not correct, we just another formula to calculate the value of the integer division.

Here we want to partition the integer GB is set to "N", then the correct formula should be:

(N-1) * 4 +1024 * N

According to the results calculated by this formula units of MB. For example, you want to get a 2GB partition, apply the formula would be:

(2-1) * 4 +1024 * 2 = 2052MB

That is the FDISK partition, you can get a 2GB 2052MB enter the zone, but we usually enter the 2048MB of course, also appears as a 1.99GB.

Again, you want an 8GB partition, according to the formula (8-1) * 4 +1024 * 8 = 8220MB, you only need to enter 8220MB can get a 8GB integer partitions. Mastered this formula, any other partition size you can calculate that, now look at your hard drive, no 1.99GB partition, is not it look comfortable?







Recommended links:



Internal control: harm than GOOD, or at every step



RECREATION Catalogs



What conditions should be maliciously registered domain name?



dirt executable has stopped working Eliminate



My favorite Dictionaries Education



The basics of Intrusion detection rules



Infomation Dictionaries EDUCATION



UML in practice, the current situation and some of the recommendations [2]



Advantage of limited group of users: 2007 to SEE VPS Hosting



Firewall And PROXY Servers evaluation



SWF to MOV



Bad reputation from rival music of Robin Li, "throwing the bums out"?



Wang Yukun: Power In The Union Heavy Industry "butterfly"



DV to AVI



SanDisk to promote large-capacity iPod MP3 strong words



TS To MKV



No comments:

Post a Comment