Strange debian 5.0 setup disk allocation units ?
Hi,
Recently I have installed debian 5.0. Everything went smoothly except disk partition size units (I used lvm, but it doesn't matter). I was unable to use sizes I wanted.
As I understand in Linux partitions begin and end on cylinder boundary so it's not possible to have exact partition size you want, but I think debian setup does worse:
lets say I have exactly 1024Mb partition so debian setup displays it as:
1.1Gb - I get similar numbers by rounding byte number value:
1024Mb = 1024 * 1024 * 1024 = 1073741824 bytes
(if partition is biger than deviation will be biger for example 28Gb partition will be displayed as 30.1Gb)
So if you create partition using debian setup specifying 1024Mb you get:
1024000000 bytes = 976 Mb
Why is that so ?
thanks
Vilius
|