On 06/25/2016 06:38 PM, Serge E. Hallyn wrote: > On Sat, Jun 25, 2016 at 03:20:08PM -0400, John Lewis wrote: >> On 06/20/2016 11:51 AM, Serge E. Hallyn wrote: >>> The pre-mount hook runs in the container's mount namespace but before >>> mounting the rootfs. So the fs you mount only shows up in the container's >>> namespace, not on the host. Auto-cleanup is just a nice bonus. I would >>> have been not entirely surprised if the loopdev remained attached, happy >>> to see it apparently gets cleaned up. >>> >>> _______________________________________________ >>> lxc-users mailing list >>> [email protected] >>> http://lists.linuxcontainers.org/listinfo/lxc-users >> Is the pre-start and pre-mount hooks the standard way of mounting a lxc >> root filesystem, > No. But iirc you're not using it to mount the rootfs, but to mount the > thing which contains the rootfs. >
Would making the rootfs the root of the filesystem image potentially give me more options for how I mount it? _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
