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

Dev User <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.