]> git.proxmox.com Git - pve-container.git/commit
added quota flag to mountpoints
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 10 Feb 2016 08:58:17 +0000 (09:58 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 11 Feb 2016 06:23:14 +0000 (07:23 +0100)
commit50df544c7207da5de0251d61d633ed0147258031
tree4487307711aa3093319d628d562d3db6a36007e0
parentffc09c3409a766a57c88ae106f777566df15d7ec
added quota flag to mountpoints

quotactl(2) requires a path to the device node to work which
means we need to expose them to the container, luckily it
doesn't need r/w access to the device. Also, loop devices
will not detach from the images anymore with them being
still mounted in the monitor's mount namespace (which is
unshared from the host to prevent accidental unmounts via
lxc.monitor.unshare).

Note that quota manipulation currently does not work with
unprivileged containers.
src/Makefile
src/PVE/LXC.pm
src/lxc-pve-autodev-hook [new file with mode: 0755]
src/lxc-pve-prestart-hook
src/lxc-pve.conf