lkml.org 
[lkml]   [1996]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: GB vs. MB
Date

> 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 ^^^^^ ^^^^^

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.138 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site