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

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



> What happens if you enter 2 GB as 2000 MB? In partman 2
GB=2000000000 B,
> not 2147483648 B (=2 GiB, but look at #235335).
>
> I found a bug in the rounding of the visualisation of the sizes.  It
is
> possible in some cases that partman shows a but smaller sizes but it
> should create the partitions with the requested size.

I've done three more installations:

1. Set partitionsize to: 2000 MB
-> displays during installation: 1.9 GB
after the installation
-> df -m  /dev/hda1    -> 1788 (1M-blocks)
-> df -h  /dev/hda1    -> 1.8 G
-> df -H /dev/hda1    -> 1.9 G

2. Set partitionsize to: 2048 MB
-> displays during installation: 2.0 GB
after the installation
-> df -m  /dev/hda1    -> 1831 (1M-blocks)
-> df -h  /dev/hda1    -> 1.8 G
-> df -H /dev/hda1    -> 2.0 G

3. Set partitionsize to: 2.0 GB
-> displays during installation: 1.9 GB
after the installation
-> df -m  /dev/hda1    -> 1788 (1M-blocks)
-> df -h  /dev/hda1    -> 1.8 G
-> df -H /dev/hda1    -> 1.9 G

So it looks like the partitioner uses the 2GB = 2000000000 B system
(like the harddisk vendors do), instead of 2 GB = 2147483648 B.
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?

Kind regards

Thorsten




Reply to: