Hello, I'm using parted 3.1 source release. I'm seeing a problem with 'mkpart' using GPT partition table. The manual states that you can provide the partition name before the start and end parameters. However this doesn't seem to have any effect:
parted --machine --script --align optimal /dev/block/sda mkpart system 31MiB 1567MiB The partition gets created but the name field in the corresponding GPT entry is zeroed out. I would expect it to contain "system". However if I run a subsequent 'parted name' command immediately afterwards, it does get set correctly. Andrew