GNU bug report logs - #22599
Feature Request: Add ability to pass blank/empty partition name when using --script

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; Severity: wishlist; Reported by: Dev User <dev.user2016@HIDDEN>; dated Mon, 8 Feb 2016 18:22:01 UTC; Maintainer for parted is bug-parted@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 8 Feb 2016 18:21:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 08 13:21:37 2016
Received: from localhost ([127.0.0.1]:60388 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aSqRN-0000tx-Mn
	for submit <at> debbugs.gnu.org; Mon, 08 Feb 2016 13:21:37 -0500
Received: from eggs.gnu.org ([208.118.235.92]:43544)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <dev.user2016@HIDDEN>) id 1aSqIA-0000b7-KD
 for submit <at> debbugs.gnu.org; Mon, 08 Feb 2016 13:12:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dev.user2016@HIDDEN>) id 1aSnP6-0001Y7-9T
 for submit <at> debbugs.gnu.org; Mon, 08 Feb 2016 10:07:09 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:60492)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dev.user2016@HIDDEN>) id 1aSnP6-0001Y3-5z
 for submit <at> debbugs.gnu.org; Mon, 08 Feb 2016 10:07:04 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39141)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dev.user2016@HIDDEN>) id 1aSnP0-0007tl-93
 for bug-parted@HIDDEN; Mon, 08 Feb 2016 10:07:04 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dev.user2016@HIDDEN>) id 1aSnOv-0001Wm-At
 for bug-parted@HIDDEN; Mon, 08 Feb 2016 10:06:58 -0500
Received: from forward8h.cmail.yandex.net ([87.250.230.219]:53465)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <dev.user2016@HIDDEN>) id 1aSnOv-0001WX-0I
 for bug-parted@HIDDEN; Mon, 08 Feb 2016 10:06:53 -0500
Received: from web16h.yandex.ru (web16h.yandex.ru [IPv6:2a02:6b8:0:f05::26])
 by forward8h.cmail.yandex.net (Yandex) with ESMTP id 3539C214D3
 for <bug-parted@HIDDEN>; Mon,  8 Feb 2016 18:06:50 +0300 (MSK)
Received: from web16h.yandex.ru (localhost [127.0.0.1])
 by web16h.yandex.ru (Yandex) with ESMTP id C31D5560337;
 Mon,  8 Feb 2016 18:06:49 +0300 (MSK)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail;
 t=1454944009; bh=TqxZsVr83wXsV59qJj4FcGR3quThRzHuQXKT67vWPQ8=;
 h=From:To:Subject:Date;
 b=LWoDDwjvMsMO+EWzUVkWtgikn17DtfQfUIhiGEZU2B2O4ugtxhoBB9m6O8MGBxjAs
 66SVWd56xd8RYdcoeio73HW+UV+ozKkMXR/5v+BXwHb0+FS/p6lAupFWomn0J70dx8
 vWnCC52ygBMXbxa2i3TQYLYaCqiRg9pXpMsJbebA=
Received: by web16h.yandex.ru with HTTP;
	Mon, 08 Feb 2016 18:06:49 +0300
From: Dev User <dev.user2016@HIDDEN>
Envelope-From: dev-user2016@HIDDEN
To: bug-parted@HIDDEN
Subject: Feature Request: Add ability to pass blank/empty partition name when
 using --script
MIME-Version: 1.0
Message-Id: <1919601454944009@HIDDEN>
X-Mailer: Yamail [ http://yandex.ru ] 5.0
Date: Mon, 08 Feb 2016 09:06:49 -0600
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: -3.8 (---)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 08 Feb 2016 13:21:36 -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: -3.8 (---)

When using interactive mode it is possible to specify an empty partition name for the mkpart command.   However, when using the --script option an error occurs because it doesn't handle an empty name.

This results in an error:
		sudo parted --script /dev/xvdf mklabel gpt mkpart '' 'ext2' '0%' '100%' print all


This works, but you have to specify a name:
		sudo parted --script /dev/xvdf mklabel gpt mkpart MyPartName 'ext2' '0%' '100%' print all


Ideally I could just specify:
		sudo parted --script /dev/xvdf mklabel gpt mkpart 'ext2' '0%' '100%' print all
and parted would parse the parameters correctly but requiring a  '-'  or '--'  (or whatever)  would work too.




Acknowledgement sent to Dev User <dev.user2016@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#22599; 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, 8 Feb 2016 18:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.