Signed-off-by: Fabian Ebner <f.eb...@proxmox.com> --- New in v2
Forgot to include this one yesterday. I chose to simply use the generic 'partition', because the information whether it's GPT or not is already present. PVE/Diskmanage.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/Diskmanage.pm b/PVE/Diskmanage.pm index 78f7865..e356fb3 100644 --- a/PVE/Diskmanage.pm +++ b/PVE/Diskmanage.pm @@ -668,6 +668,7 @@ sub get_disks { $partitions->{$part}->{devpath} = "$partpath/$part"; $partitions->{$part}->{parent} = "$devpath"; $partitions->{$part}->{gpt} = $data->{gpt}; + $partitions->{$part}->{type} = 'partition'; $partitions->{$part}->{size} = get_sysdir_size("$sysdir/$part") // 0; $partitions->{$part}->{used} = -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel