Re: Large hard disk confusion
Once upon a time Marcus Lundblad said...
>
>
> On Sun, 6 Feb 2005, Brian Clark wrote:
>
> >I just installed sarge on a 160 GB hard disk. Partitions are 2GB swap,
> >50 MB /boot, and the rest for /.
> >
> >~$ df -ahT
> >Filesystem Type Size Used Avail Use% Mounted on
> >/dev/hda3 ext3 145G 230M 138G 1% /
> >
> >My question is, why is hda3 only showing as 145 GB? Surely ext3 isn't
> >taking up gigabytes worth of journal information?
>
> I think it's common that "160 GB" means 160000000000 bytes when
> manufactures defines harddrive space.
> And 160 "real" GB is 201997680640
Basically correct (although I wouldn't even put "real" in quotes).
If you want to see your partition sizes in SI units (the only "real"
units for giga), use -H. eg:
$ df -H
Reply to: