confusion with gparted

suvayu ali fatkasuvayu+linux at gmail.com
Mon Aug 22 01:25:35 UTC 2011


On Fri, Aug 19, 2011 at 11:22 PM, charles zeitler <cfzeitler at gmail.com> wrote:
>> I have an external usb HD (500Go) which I partionned (with fdisk) like this:
>>
>> /dev/sdx1 ~20Go: ntfs
>> /dev/sdx2 rest of disk: ext3
>>
>> If I use df -h, I get:
>>
>> /dev/sdb2             439G   44G  374G  11% /media/linux
>> /dev/sdb1              21G   66M   20G   1% /media/ntfs
>>
>> (today x=b!) the total 439+21= 460 so missing 40Go
>> François Patte
>>
>
> harddrive manufactureres use 1KB = 1000 bytes,
> fdisk & df use  1KB = 1024 bytes.
>

As Charles mentions, the hardware manufacturers (powers of 10) and
software programmers (powers of 2^10) prefer different units. With the
above recipe, you will find 500 GB (gigabyte 10^9 bytes) is
approximately equivalent to 465 GiB (gibibyte 2^10^3 bytes).

Hope this helps.

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list