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

Wang Dong dongdwdw at linux.vnet.ibm.com
Thu May 25 14:19:27 UTC 2017



On 5/25/2017 9:30 PM, Phil Susi wrote:
> On 5/24/2017 9:48 AM, Sebastian Parschauer wrote:
>> 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
> I have never seen the point of having a separate type code for swap.
> Nobody uses it.  As far as I am concerned, we should get rid of it.
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?

-- 
Best regards.

Wang Dong




More information about the parted-devel mailing list