GNU bug report logs -
#22599
Feature Request: Add ability to pass blank/empty partition name when using --script
Previous Next
To reply to this bug, email your comments to 22599 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-parted <at> gnu.org
:
bug#22599
; Package
parted
.
(Mon, 08 Feb 2016 18:22:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dev User <dev.user2016 <at> yandex.com>
:
New bug report received and forwarded. Copy sent to
bug-parted <at> gnu.org
.
(Mon, 08 Feb 2016 18:22:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
This bug report was last modified 8 years and 80 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.