]> git.proxmox.com Git - pve-storage.git/commit - PVE/Diskmanage.pm
Diskmanage: refactor and rename get_parttype_info
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 26 Jan 2021 11:45:19 +0000 (12:45 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 6 Feb 2021 12:52:20 +0000 (13:52 +0100)
commitb6bbc2ab28738fa941654cb4383d5054a12c5cdc
tree1b934575032551d2e1b4721c2e8dd890f9213aae
parent0cca5356bb98baa8663df4314787d60cbca74f56
Diskmanage: refactor and rename get_parttype_info

in preparation to also query the file system type from lsblk. Note that the
result now also includes devices without a parttype, so a definedness check in
get_devices_by_partuuid is needed. This will be useful when the whole device
contains a filesystem.

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