GNU bug report logs - #23511
extra sector in resize

Previous Next

Package: parted;

Reported by: Шокуров Антон <shokurov.anton.v <at> yandex.ru>

Date: Wed, 11 May 2016 05:57:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Шокуров Антон <shokurov.anton.v <at> yandex.ru>
To: 23511 <at> debbugs.gnu.org
Subject: bug#23511: extra sector in resize
Date: Wed, 11 May 2016 08:03:42 +0300
Dear parted developers!

Recently i had to resize one of my partitions.
i decided to give the ending in mibs, so i set the units to mibs.
Then i entered the resirepart command and had set the new ending.
Being pedantic i decided to check the byte value (set the unit to b beforehand), and it showed that apparently there was actually a extra sector added it its ending.

So, i deiced to do it another way. I recreated the partition (removed the partition and created again). And it worked. There was no extra sector being added to the ending value.

Verdict, there is a bug in the resizepart command (in comparison with the mkpart command command the ending value it being processed differently, which by itself is a bad programming style...)

Thanks!
Anton 




This bug report was last modified 9 years and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.