Re: [pve-devel] [PATCH storage] fix #1912: find the partition instead of guessing it

2018-09-14 Thread Wolfgang Bumiller
On Thu, Sep 13, 2018 at 04:56:26PM +0200, Dominik Csapak wrote: > instead of using '$dev1' as partition, > get the information from /sys/block/$dev > > Signed-off-by: Dominik Csapak > --- > PVE/API2/Disks/Directory.pm | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git

[pve-devel] [PATCH storage] fix #1912: find the partition instead of guessing it

2018-09-13 Thread Dominik Csapak
instead of using '$dev1' as partition, get the information from /sys/block/$dev Signed-off-by: Dominik Csapak --- PVE/API2/Disks/Directory.pm | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PVE/API2/Disks/Directory.pm b/PVE/API2/Disks/Directory.pm index