]> git.proxmox.com Git - pve-storage.git/commit
diskmanage: wipe blockdev: also change partition type
authorFabian Ebner <f.ebner@proxmox.com>
Wed, 6 Oct 2021 09:18:42 +0000 (11:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 7 Oct 2021 12:39:26 +0000 (14:39 +0200)
commitbd46e59b5d6dba1739f4286d589944fbd32b67a3
tree808b211e34f4920fd984894d87b50831c8471339
parente8df8fb179da6ba528e6d6582e51b30c3aa4583c
diskmanage: wipe blockdev: also change partition type

when called with a partition. Since get_disks uses the partition type
(among other things) to detect LVM and ZFS volumes, such volumes would
still be seen as in-use after wiping. Thus, also change the partition
type and simply use 0x83 "Linux filesystem".

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/Diskmanage.pm