mirror of
git://git.proxmox.com/git/pve-storage.git
synced 2025-08-28 05:49:33 +03:00
Diskmanage: also set type for partitions
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
50853be2c5
commit
31ed94ccf8
@ -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} =
|
||||
|
Reference in New Issue
Block a user