Commit 64b90b3d by Ferenc Wagner Committed by Daniel Lezcano

document rootfs options

parent 89875e17
...@@ -373,8 +373,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -373,8 +373,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
<refsect2> <refsect2>
<title>Root file system</title> <title>Root file system</title>
<para> <para>
The root file system is the location where the container will The root file system of the container can be different than that
chroot. of the host system.
</para> </para>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
...@@ -383,8 +383,42 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ...@@ -383,8 +383,42 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
</term> </term>
<listitem> <listitem>
<para> <para>
specify a file location containing the new file tree for specify a directory to become the root of the container.
a root file system. If not specified, the container shares its root file
system with the host.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>lxc.rootfs.mount</option>
</term>
<listitem>
<para>
where to recursively bind <option>lxc.rootfs</option>
before pivoting. This is to ensure success of the
<citerefentry>
<refentrytitle><command>pivot_root</command></refentrytitle>
<manvolnum>8</manvolnum>
</citerefentry>
syscall. Any directory suffices, the default should
generally work.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>lxc.pivotdir</option>
</term>
<listitem>
<para>
where to pivot the original root file system under
<option>lxc.rootfs</option>, specified relatively to
that. The default is <filename>oldrootfs</filename>.
It is created if necessary, and also removed after
unmounting everything from it during container setup.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment