From unknown Fri Jun 20 07:17:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23511 <23511@debbugs.gnu.org> To: bug#23511 <23511@debbugs.gnu.org> Subject: Status: extra sector in resize Reply-To: bug#23511 <23511@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:17:14 +0000 retitle 23511 extra sector in resize reassign 23511 parted submitter 23511 =D0=A8=D0=BE=D0=BA=D1=83=D1=80=D0=BE=D0=B2 =D0=90=D0=BD=D1= =82=D0=BE=D0=BD severity 23511 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 11 01:56:12 2016 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 ) id 1b0N7z-0003zr-FA for submit@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 ) id 1b0MJe-0002fq-FA for submit@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 ) id 1b0MJY-0001vA-9b for submit@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 ) id 1b0MJY-0001v4-4J for submit@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 ) id 1b0MJV-0004fP-Tn for bug-parted@gnu.org; Wed, 11 May 2016 01:04:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0MJS-0001t4-KJ for bug-parted@gnu.org; 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 ) id 1b0MJR-0001qX-7S for bug-parted@gnu.org; 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 ; 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==?= Envelope-From: shokurov-anton-v@yandex.ru To: bug-parted@gnu.org Subject: extra sector in resize MIME-Version: 1.0 Message-Id: <6195231462943022@web4j.yandex.ru> 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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