Re: [parted-devel] Discussion: Allow empty name for GPT partitions to fix systemd errors

2017-08-10 Thread Sebastian Parschauer
On 01.05.2017 20:54, Brian C. Lane wrote: > On Fri, Apr 21, 2017 at 09:02:41AM -0400, Phil Susi wrote: >> On 4/21/2017 7:34 AM, Sebastian Parschauer wrote: >>> Thanks, but parted only allows to leave it empty in interactive mode. >>> The name is a required argument in script mode. >> >> This appear

[parted-devel] [PATCH] parted/ui: Count empty strings as words in multi_word mode

2017-08-10 Thread Sebastian Parschauer
In non-interactive mode, the command line arguments are appended to a string list with command_line_push_line() in multi_word mode. That mode does not count empty strings as a word. For mkpart and a GPT disk label, the partition name is picked up from that string list. The partition name is mandato