]> git.proxmox.com Git - pve-storage.git/commit - PVE/Diskmanage.pm
use /sys/block/ path for udev instead of name
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 17 Oct 2016 08:29:08 +0000 (10:29 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 28 Oct 2016 08:19:40 +0000 (10:19 +0200)
commit532e89e7beb4d0a0ac982dc14913fc4d48b98bfe
treeb757f58095db282cb1bce261bb01918be5673af2
parent261e80da6640f4d732c266cf853ce540a7860eb7
use /sys/block/ path for udev instead of name

since we iterate over the entries in /sys/block
it makes sense to use this path

this should fix #1099
because udevadm does not take
 -n cciss!c0d0 (because it only looks in dev for this)
but takes
 -p /sys/block/cciss!c0d0

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