[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.6.17-2-mac disk size calculation question



On Sat, 14 Oct 2006, Larry Moore wrote:
>  When 2.2.25-mac boots,  it reports that my 17850264 512-byte sectors /dev/sdb
> is 8715 MB in size,
> but 2.6.17-2-mac says it is 9139 MB.  I've run (tried) the 2.6 and it reports
> this each time.

That's correct: 17850264*512 bytes =  9139335168 bytes = 9139 MB.

Old kernels printed values in MiB, but printed `MB' instead of `MiB'.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds



Reply to: