Re: GB vs. MB

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Tue, 26 Nov 1996 15:19:48 +0100 (MET)


> koenig@tat.physik.uni-tuebingen.de (Harald Koenig) writes:
>
> > I like the disk size message in sd.c but since 1MB == 1024*1024 ==
> > 2^20,
>
> It isn't as simple as that.
>
> 1MB of RAM is, indeed, equal to 1024*1024 bytes.
> But 1.44MB floppy has 1.44*1000*1024 bytes.
> With hard disks, your mileage may vary.

you didn't get the point:

the Linux kernel uses 1MB == 1024*1024 but 1GB == 1000MB == 1000 * 1024*1024
for displaying SCSI disk sizes which is inconsistent. check the code/patch!

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^