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

Phil Susi phill at thesusis.net
Thu May 25 14:46:16 UTC 2017


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.




More information about the parted-devel mailing list