X-Loop: help-debbugs@HIDDEN
Subject: bug#34782: GNU parted 3.2 strange behavior
Resent-From: Richard Szibele <richard@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-parted@HIDDEN
Resent-Date: Thu, 07 Mar 2019 15:34:02 +0000
Resent-Message-ID: <handler.34782.B.15519728386839 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 34782
X-GNU-PR-Package: parted
X-GNU-PR-Keywords:
To: 34782 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-parted@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.15519728386839
(code B ref -1); Thu, 07 Mar 2019 15:34:02 +0000
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 <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)
From: Richard Szibele <richard@HIDDEN>
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-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
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: Richard Szibele <richard@HIDDEN> Subject: bug#34782: Acknowledgement (GNU parted 3.2 strange behavior) Message-ID: <handler.34782.B.15519728386839.ack <at> debbugs.gnu.org> References: <c564b78d-9de3-718e-91a5-95e9171830b3@HIDDEN> X-Gnu-PR-Message: ack 34782 X-Gnu-PR-Package: parted Reply-To: 34782 <at> debbugs.gnu.org Date: Thu, 07 Mar 2019 15:34:04 +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 34782 <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 34782: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34782 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.