]> git.proxmox.com Git - pve-storage.git/commit
Diskmanage: also check for filesystem type when determining usage
authorFabian Ebner <f.ebner@proxmox.com>
Tue, 26 Jan 2021 11:45:20 +0000 (12:45 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 6 Feb 2021 12:52:20 +0000 (13:52 +0100)
commit59c03cd970cc4a1e2f893479c8bd5023dcc8a277
treeac5276e9447400dbc0a0bfb1965ab58414234e45
parentb6bbc2ab28738fa941654cb4383d5054a12c5cdc
Diskmanage: also check for filesystem type when determining usage

Like this, a non-ZFS filesystem living on a whole disk will also be detected
when it is not mounted.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/Diskmanage.pm
test/disk_tests/usages/disklist
test/disk_tests/usages/disklist_expected.json
test/disk_tests/usages/lsblk
test/disk_tests/usages/sdn/device/vendor [new file with mode: 0644]
test/disk_tests/usages/sdn/queue/rotational [new file with mode: 0644]
test/disk_tests/usages/sdn/size [new file with mode: 0644]
test/disk_tests/usages/sdn_udevadm [new file with mode: 0644]