Quoting David Shwatrz ([email protected]):
> Hi, LXC users,
> 
> Is there any difference between
> setting a mount entry via /etc/fstab in the root filesystem of a
> container or as lxc.mount.entry in the LXC config file?

Yes - lxc.mount.entry mounts are done by lxc, before the pivot_root.
So you can bind-mount your host home directory in the container, for
instance.

/etc/fstab in the rootfs is handled one way or another by the
container's init system, and long after pivot_root.

-serge
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to