Please confirm this: 10 GB is 10,240 BINARY megabytes.

Going to partition a disk with fdisk. Can somebody please confirm that if I tell it to partition at 10,240 MB, I will get a 10 GB partition?

I’m still a little shaky on Binary vs. Decimal GBs, and who uses what.
Many thanks.

Yes, 10,240MB is exactly 10GB.

(And of course 1MB = 1024 KB and 1KB = 1024 Bytes.)

See binary prefix.

The problem occurs when people use decimal measures in a binary environment. One example: putting “4.7 GB”, meaning 4 700 000 000 bytes, on data-storage media (DVD-Rs) where it should be “4.3 GB”, meaning 4.3 x 1024[sup]3[/sup] (i.e. 4.3 x 1,073,741,824) bytes.

The IEC has gotten around this confusion by specifying a new set of prefixes for binary multiples. The binary prefix corresponding to giga would be “gibi” (Gi), from “giga binary”. GB would then mean exclusively 1 000 000 000 bytes, and GiB would be 1,073,741,824 bytes.

Wikipedia on the subject of binary prefixes: http://en.wikipedia.org/wiki/Binary_prefix