GNU bug report logs - #34782
GNU parted 3.2 strange behavior

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: Richard Szibele <richard@HIDDEN>; dated Thu, 7 Mar 2019 15:34:02 UTC; Maintainer for parted is bug-parted@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 7 Mar 2019 15:33:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 07 10:33:58 2019
Received: from localhost ([127.0.0.1]:35575 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h1v1x-0001mD-JO
	for submit <at> 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 <richard@HIDDEN>) id 1h1oRo-0005vl-8D
 for submit <at> 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 <richard@HIDDEN>) id 1h1oRj-0003RK-1E
 for submit <at> 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 <richard@HIDDEN>) id 1h1oRi-0006Cq-8A
 for bug-parted@HIDDEN; 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 <richard@HIDDEN>) id 1h1oRh-0003QN-Kc
 for bug-parted@HIDDEN; 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 <richard@HIDDEN>) id 1h1oRh-0003Ns-C9
 for bug-parted@HIDDEN; 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 <bug-parted@HIDDEN>; Thu,  7 Mar 2019 09:31:59 +0100 (CET)
To: bug-parted@HIDDEN
From: Richard Szibele <richard@HIDDEN>
Subject: GNU parted 3.2 strange behavior
Message-ID: <c564b78d-9de3-718e-91a5-95e9171830b3@HIDDEN>
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 <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: -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





Acknowledgement sent to Richard Szibele <richard@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#34782; 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.