]> git.proxmox.com Git - pve-storage.git/commit - PVE/Diskmanage.pm
Diskmanage: change parttype uuid detection
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 12 Jul 2019 10:13:49 +0000 (12:13 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 12 Jul 2019 13:37:57 +0000 (15:37 +0200)
commit8cd6d7e8e3c3a8897f6aba80f91b8da2941eebc2
tree89600806f2a3c42cdccf9e0daa0b835328c7dc15
parent1c5dfef22697edd08aae9f4eba2475979b6af84d
Diskmanage: change parttype uuid detection

previously ceph included a udev rule to populate
/dev/disk/by-parttypeuuid/

but not anymore, so we now use 'lsblk --json -o path,parttype' to
get a mapping between parttype uuid and partition

fix the test by simulating empty lsblk output

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Diskmanage.pm
test/disklist_test.pm