GNU bug report logs - #23511
extra sector in resize

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: parted; Reported by: Шокуров Антон <shokurov.anton.v@HIDDEN>; dated Wed, 11 May 2016 05:57:02 UTC; Maintainer for parted is bug-parted@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 May 2016 05:56:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 11 01:56:12 2016
Received: from localhost ([127.0.0.1]:46580 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1b0N7z-0003zr-FA
	for submit <at> debbugs.gnu.org; Wed, 11 May 2016 01:56:12 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38333)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <shokurov.anton.v@HIDDEN>) id 1b0MJe-0002fq-FA
 for submit <at> debbugs.gnu.org; Wed, 11 May 2016 01:04:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <shokurov.anton.v@HIDDEN>) id 1b0MJY-0001vA-9b
 for submit <at> debbugs.gnu.org; Wed, 11 May 2016 01:04:05 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ****
X-Spam-Status: No, score=4.0 required=5.0 tests=BAYES_50,
 CHARSET_FARAWAY_HEADER,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:51368)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <shokurov.anton.v@HIDDEN>) id 1b0MJY-0001v4-4J
 for submit <at> debbugs.gnu.org; Wed, 11 May 2016 01:04:04 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:57537)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <shokurov.anton.v@HIDDEN>) id 1b0MJV-0004fP-Tn
 for bug-parted@HIDDEN; Wed, 11 May 2016 01:04:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <shokurov.anton.v@HIDDEN>) id 1b0MJS-0001t4-KJ
 for bug-parted@HIDDEN; Wed, 11 May 2016 01:04:01 -0400
Received: from forward17j.cmail.yandex.net ([5.255.227.236]:34048)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <shokurov.anton.v@HIDDEN>) id 1b0MJR-0001qX-7S
 for bug-parted@HIDDEN; Wed, 11 May 2016 01:03:58 -0400
Received: from web4j.yandex.ru (web4j.yandex.ru [5.45.198.45])
 by forward17j.cmail.yandex.net (Yandex) with ESMTP id B988C20285
 for <bug-parted@HIDDEN>; Wed, 11 May 2016 08:03:43 +0300 (MSK)
Received: from web4j.yandex.ru (localhost [127.0.0.1])
 by web4j.yandex.ru (Yandex) with ESMTP id 3AB4B300C16;
 Wed, 11 May 2016 08:03:43 +0300 (MSK)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
 t=1462943023; bh=0mE4ADEcVHaxXvYLnqjrSlAO9PsaIOmnx8gGn6Ya9YI=;
 h=From:To:Subject:Date;
 b=Os7G0FmndzqUv5PUGvzdjWjwNDsQLn6uL1BUzqffNeqkNLn2LrJxJXTyGgz+k1LJY
 nboKyLLNcLvqstcjUsKgRVvJPqaQLFeZsE2vrv0b2FqaMI27YDu/KYcS78DY8yQj0W
 TgYl2DDvycJoyJHVlpH50bKeFgYf93F0i07HHF4A=
Received: by web4j.yandex.ru with HTTP;
	Wed, 11 May 2016 08:03:42 +0300
From: =?koi8-r?B?+8/L1dLP1yDhztTPzg==?= <shokurov.anton.v@HIDDEN>
Envelope-From: shokurov-anton-v@HIDDEN
To: bug-parted@HIDDEN
Subject: extra sector in resize
MIME-Version: 1.0
Message-Id: <6195231462943022@HIDDEN>
X-Mailer: Yamail [ http://yandex.ru ] 5.0
Date: Wed, 11 May 2016 08:03:42 +0300
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 11 May 2016 01:56:10 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

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 




Acknowledgement sent to Шокуров Антон <shokurov.anton.v@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#23511; Package parted. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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