From: Ferenc Wagner Date: Fri, 11 Jun 2010 13:56:25 +0000 (+0200) Subject: document rootfs options X-Git-Tag: lxc-0.7.0~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=64b90b3d1e90bfc7a6b3174fc0a923332995e31a;p=thirdparty%2Flxc.git document rootfs options Signed-off-by: Ferenc Wagner Signed-off-by: Daniel Lezcano --- diff --git a/doc/lxc.conf.sgml.in b/doc/lxc.conf.sgml.in index 130584952..5f0cb678a 100644 --- a/doc/lxc.conf.sgml.in +++ b/doc/lxc.conf.sgml.in @@ -373,8 +373,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Root file system - The root file system is the location where the container will - chroot. + The root file system of the container can be different than that + of the host system. @@ -383,8 +383,42 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - specify a file location containing the new file tree for - a root file system. + specify a directory to become the root of the container. + If not specified, the container shares its root file + system with the host. + + + + + + + + + + + where to recursively bind + before pivoting. This is to ensure success of the + + pivot_root + 8 + + syscall. Any directory suffices, the default should + generally work. + + + + + + + + + + + where to pivot the original root file system under + , specified relatively to + that. The default is oldrootfs. + It is created if necessary, and also removed after + unmounting everything from it during container setup.