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

Bug#259868: acknowledged by developer (Re: Bug#259831: Debian Installer - Installation report)



On Wed, Aug 18, 2004 at 01:26:23PM +0200, Thorsten Schaefer wrote:
> 
> So it looks like the partitioner uses the 2GB = 2000000000 B system
> (like the harddisk vendors do), instead of 2 GB = 2147483648 B.

Exactly.

> Shouldn't the partitioner during the installation use the "correct"
> system so that 2.0 GB in the partitioner creates a real
> (approximately) 2048 MegaByte parition?

There is an opened wishlist bug about this (#235335) but it is difficult
to implement because the shell arithmetic (on i386) is limited to 31
bits and this is not enough for the sizes of the modern storage devices.

If you are interested you can look at the functions longint2human and
human2longint in definitions.sh from the package "partman".

Anton Zinoviev

P.S. I already fixed the bug in the visualisation of the sizes.




Reply to: