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

Sebastian Parschauer sparschauer at suse.de
Wed May 24 13:48:56 UTC 2017


On 24.05.2017 14:54, Wang Dong wrote:

From: André Wild <wild at linux.vnet.ibm.com>

> This commit corrects the reading of lvm/raid flags on DASD/CDL formatted
> disks. Previously, users were not able to see what was the actual flags
> stored on the disk. Now the file system check is removed and this issue
> is corrected.
> 
> Signed-off-by: André Wild <wild at linux.vnet.ibm.com>
> Signed-off-by: Wang Dong <dongdwdw at linux.vnet.ibm.com>
> Signed-off-by: Hendrik Brueckner <brueckner at linux.vnet.ibm.com>

Acked-by: Sebastian Parschauer <sparschauer at suse.de>

The problem only still exists for swap. parted can't distinguish between
"Linux native" and "Linux swap" before mkswap is run.

For GPT that's already fixed by:
c7ce5d48f6fa libparted: set swap flag on GPT partitions

Do you intend to fix that for DASDs as well?

Cheers,
Sebastian



More information about the parted-devel mailing list