[lxc-devel] [PATCH 5/5] document rootfs options

2010-06-09 Thread Ferenc Wagner

Signed-off-by: Ferenc Wagner 
---
 doc/lxc.conf.sgml.in |   39 +++
 1 files changed, 35 insertions(+), 4 deletions(-)

diff --git a/doc/lxc.conf.sgml.in b/doc/lxc.conf.sgml.in
index 1305849..6c98714 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,39 @@ 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.
+   
+ 
+   
+
+   
+ 
+   lxc.rootfs.mount
+ 
+ 
+   
+ where to recursively bind lxc.rootfs
+ before pivoting.  This is to ensure success of the
+ pivot_root8
+ syscall.  Any directory suffices, the default should
+ generally work.
+   
+ 
+   
+
+   
+ 
+   lxc.pivotdir
+ 
+ 
+   
+ where to pivot the original root file system under
+ lxc.rootfs, specified relatively to
+ that.  The default is oldrootfs.
+ It is created if necessary, and also removed after
+ unmounting everything from it during container setup.

  

-- 
1.6.5


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


Re: [lxc-devel] [PATCH 5/5] document rootfs options

2010-06-10 Thread Daniel Lezcano
On 06/09/2010 07:56 PM, Ferenc Wagner wrote:
> Signed-off-by: Ferenc Wagner
>

Great, Thanks ! +1


--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel