[pve-devel] [PATCH v2 pve-container 0/4] mountpoints, mkfs, vzdump changes

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Sep 3 15:45:50 CEST 2015


Descriptions are in the patches.

As for the loop devices: this needs some more cleanup. For now I at
least factored out the `losetu -j` call into its own function and
changed a few parts of the code to at least use rememberd loop devices
where possible and added a detach_loop_devices() function which avoids
the entire storage/losetup mess: (mount_all now returns them in array
context, the backup code adds them to {cleanup}->{loopdevs} instead of
the volume IDs so only.)

Wolfgang Bumiller (4):
  disk formatting and mounting changed
  add support to add mountpoints with pct set
  support resizing of owned container disks
  vzdump: refactor LXC backup

 src/PVE/API2/LXC.pm        |  34 +++++++-
 src/PVE/API2/LXC/Config.pm | 145 +++++++++++++++++++++++++++++++
 src/PVE/LXC.pm             |  75 +++++++++++++---
 src/PVE/LXC/Create.pm      |  11 ++-
 src/PVE/VZDump/LXC.pm      | 211 +++++++++++++++++++++++----------------------
 src/pct                    |   2 +
 6 files changed, 357 insertions(+), 121 deletions(-)

-- 
2.1.4




More information about the pve-devel mailing list