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

To reply to this bug, email your comments to 23511 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#23511; Package parted. (Wed, 11 May 2016 05:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Шокуров Антон <shokurov.anton.v <at> yandex.ru>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Wed, 11 May 2016 05:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Шокуров Антон <shokurov.anton.v <at> yandex.ru>
To: bug-parted <at> gnu.org
Subject: 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 41 days ago.

Previous Next


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