X-Loop: help-debbugs@HIDDEN Subject: bug#23511: extra sector in resize Resent-From: =?UTF-8?Q?=D0=A8=D0=BE=D0=BA=D1=83=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= <shokurov.anton.v@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-parted@HIDDEN Resent-Date: Wed, 11 May 2016 05:57:02 +0000 Resent-Message-ID: <handler.23511.B.146294617215371 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 23511 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 23511 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-parted@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.146294617215371 (code B ref -1); Wed, 11 May 2016 05:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 May 2016 05:56:12 +0000 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: =?UTF-8?Q?=D0=A8=D0=BE=D0=BA=D1=83=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= <shokurov.anton.v@HIDDEN> Envelope-From: shokurov-anton-v@HIDDEN 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-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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: =?UTF-8?Q?=D0=A8=D0=BE=D0=BA=D1=83=D1=80=D0=BE=D0=B2_?= =?UTF-8?Q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= <shokurov.anton.v@HIDDEN> Subject: bug#23511: Acknowledgement (extra sector in resize) Message-ID: <handler.23511.B.146294617215371.ack <at> debbugs.gnu.org> References: <6195231462943022@HIDDEN> X-Gnu-PR-Message: ack 23511 X-Gnu-PR-Package: parted Reply-To: 23511 <at> debbugs.gnu.org Date: Wed, 11 May 2016 05:57:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-parted@HIDDEN If you wish to submit further information on this problem, please send it to 23511 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 23511: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23511 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.