]> git.proxmox.com Git - pve-storage.git/commit
fix #1912: find the partition instead of guessing it
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 14 Sep 2018 09:13:35 +0000 (11:13 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 14 Sep 2018 09:24:42 +0000 (11:24 +0200)
commit401b56fc54d9e26ed08a3c4fd609ac92d00293e5
tree50ca9e70a6d94f0ad7ca65b05394976f518ee1ef
parentdd1fa860d0e65db4bafc5f0347974e3d2fc5024b
fix #1912: find the partition instead of guessing it

instead of using '$dev1' as partition,
get the information from /sys/block/$dev

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Disks/Directory.pm