-
Formatting a partition to cleared over the top of LVM2 PV leaves the "lvm" flag set on the partition; where as formatting with an actual file system over the top of an LVM2 PV clears the "lvm" flag. This is true for both MSDOS and GPT partitioned drives. Fix by setting the partition type when formatting to cleared too. Closes !36 - Set partition type when clearing partition contents
4d9dc14b