[parted-devel] [PATCH 0/1] add swap flag for DASD label

Arvin Schnell aschnell at suse.com
Fri Oct 8 11:04:12 BST 2021


Hi,

here is a patch to add the swap flag for the DASD label. So far
only the partition type on disk was set to swap if a new
partition was created with file system "linux-swap". With the
patch the swap flag can now also be seen and set like for other
labels.

Additionally, parts of the patch [1] are included. That fixes
reading the flags from disk. So far the RAID and LVM flag was
only read when no file system signatures was found on the
partition.

Also, as with my recent patch for GPT [2] the individual flags
"raid" and "lvm" are removed and instead the "system" variable is
used directly.

Thanks,
  Arvin

[1] https://alioth-lists.debian.net/pipermail/parted-devel/2017-March/004991.html
[2] https://alioth-lists.debian.net/pipermail/parted-devel/2021-September/005685.html

-- 
Arvin Schnell, <aschnell at suse.com>
Senior Software Engineer, Research & Development

SUSE Software Solutions Germany GmbH
Maxfeldstraße 5
90409 Nürnberg
Germany

(HRB 36809, AG Nürnberg)

Geschäftsführer: Felix Imendörffer



More information about the parted-devel mailing list