From unknown Tue Jun 17 21:56:23 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#34782 <34782@debbugs.gnu.org> To: bug#34782 <34782@debbugs.gnu.org> Subject: Status: GNU parted 3.2 strange behavior Reply-To: bug#34782 <34782@debbugs.gnu.org> Date: Wed, 18 Jun 2025 04:56:23 +0000 retitle 34782 GNU parted 3.2 strange behavior reassign 34782 parted submitter 34782 Richard Szibele severity 34782 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 07 10:33:58 2019 Received: (at submit) by debbugs.gnu.org; 7 Mar 2019 15:33:58 +0000 Received: from localhost ([127.0.0.1]:35575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1v1x-0001mD-JO for submit@debbugs.gnu.org; Thu, 07 Mar 2019 10:33:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h1oRo-0005vl-8D for submit@debbugs.gnu.org; Thu, 07 Mar 2019 03:32:12 -0500 Received: from lists.gnu.org ([209.51.188.17]:51913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h1oRj-0003RK-1E for submit@debbugs.gnu.org; Thu, 07 Mar 2019 03:32:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1oRi-0006Cq-8A for bug-parted@gnu.org; Thu, 07 Mar 2019 03:32:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1oRh-0003QN-Kc for bug-parted@gnu.org; Thu, 07 Mar 2019 03:32:06 -0500 Received: from szibele.com ([130.255.78.218]:42228 helo=smtp.szibele.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h1oRh-0003Ns-C9 for bug-parted@gnu.org; Thu, 07 Mar 2019 03:32:05 -0500 Received: from [192.168.178.38] (unknown [92.117.121.228]) by smtp.szibele.com (Postfix) with ESMTPSA id EB36648B17 for ; Thu, 7 Mar 2019 09:31:59 +0100 (CET) To: bug-parted@gnu.org From: Richard Szibele Subject: GNU parted 3.2 strange behavior Message-ID: Date: Thu, 7 Mar 2019 09:31:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 130.255.78.218 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 07 Mar 2019 10:33:57 -0500 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: -0.0 (/) Hello, I'm currently working on a wrapper library to automate GNU parted. I'm currently writing the integration tests for my library and I noticed some strange behavior that I can't seem to figure out if it's intended or not. 1. When running `parted /dev/sda --script -- mkpart "ext4" 1MB 100MB` parted automatically assigns "ext4" as the name of the partition. I assume this is a bug? 2. When running `parted /dev/sda --script -- name 1 ""` parted seems to ignore the empty string, so I am unable to remove the name. If I run the command manually without "--script" it asks me for the name and after pressing enter, it doesn't remove it. Is there a way to remove a name from a partition? The mkpart command seems to also require different arguments depending on the partition table of the disk, but the manual doesn't mention the parameters required for each of the partition tables. Best regards, Richard Szibele