Re: [parted-devel] [PATCH] parted: correct the information of "mkpart" in man manual

2017-04-21 Thread Wang Dong
On 04/20/2017 08:50 PM, Phil Susi wrote: On 4/20/2017 2:17 AM, Wang Dong wrote: You mean that parted will set the partition type code according to the file system type? I didn't find the code in parted. Would you please show me? See msdos_partition_set_system() in labels/dos.c. DOS/Windows

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

2017-04-21 Thread Sebastian Parschauer
On 20.04.2017 14:55, Phil Susi wrote: [snip] >> We should be able to provide GPT partitions without a name. The UEFI >> spec doesn't define if that name may be empty. It just has to be NULL >> terminated. Or can you point to a document stating explicitly that the >> name may not be empty? > >

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

2017-04-21 Thread Phil Susi
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 appears to be a bug. Or at least the bug is that parted does not understand quotes. My first thought was to simply

Re: [parted-devel] [PATCH] libparted/dasd: improve lvm/raid flag handling for DASD-CDL

2017-04-21 Thread Phil Susi
On 4/20/2017 10:07 PM, Wang Dong wrote: > But the flag cannot be read with the presence of the filesystem previously. > That's why the change. How so? The flag is in the partition table. What data is written to the partition has nothing to do with the flag. Whether you have a filesystem or