]> git.proxmox.com Git - mirror_lxc.git/commit
Change rootfs pinning mechnism
authorChristian Seiler <christian@iwakd.de>
Thu, 12 Sep 2013 20:00:34 +0000 (22:00 +0200)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 12 Sep 2013 20:33:58 +0000 (15:33 -0500)
commitb7ed4bf0e25799fbe9e9ccb073af5397dda1288a
tree3feab2a2b4532a6c53ee661527c121b72b7b7ea3
parent368bbc02ba132cd978141f392e610adf3b9dcec8
Change rootfs pinning mechnism

Chane pinning mechanism: Use $rootfs/lxc.hold instead of $rootfs.hold
(in case $rootfs is a mountpoint itself), but delete the file
immediately after creating it (but keep it open). This will keep the
root filesystem busy but does not leave any unnecessary files lying
around.

Signed-off-by: Christian Seiler <christian@iwakd.de>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/conf.c