I now replaced the blockdevices_list code altogether and use stat() on the device files instead.
Remember the backup patches in the end need the pve-manager find-patch applied... Wolfgang Bumiller (4): get rid of most of the loop-devices code fix block device access support resizing of owned container disks vzdump: refactor LXC backup src/PVE/API2/LXC/Config.pm | 159 ++++++++++++++++++++++++++++++++++ src/PVE/CLI/pct.pm | 2 + src/PVE/LXC.pm | 147 +++++--------------------------- src/PVE/LXC/Create.pm | 7 +- src/PVE/VZDump/LXC.pm | 206 ++++++++++++++++++++++----------------------- src/lxc-pve-mount-hook | 30 +++---- src/lxc-pve-prestart-hook | 1 - 7 files changed, 302 insertions(+), 250 deletions(-) -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel