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

Sebastian Parschauer sparschauer at suse.de
Fri May 26 08:04:58 UTC 2017


On 25.05.2017 16:46, Phil Susi wrote:
> On 5/25/2017 10:19 AM, Wang Dong wrote:
>> Actually I am a little confused by this swap flag.
>> It does not mean a swap partition, right? Because mkswap makes it.
>> If not, why this flag?
> 
> Yes, it means swap partition.  It changes the partition type code to one
> that is different from the normal linux one.  mkswap makes the swap
> signature, aka formats the swap filesystem.  It sounds like Sebastian is
> saying that DASD does not store the swap flag in the partition table,
> but rather probes for a swap filesystem and if it finds that, sets the flag.

Exactly. It is also not right that nobody is using the swap flag. YaST
is using it and intends to use it for DASDs as well with SLE15.



More information about the parted-devel mailing list