From a361e56278d247ba1127e905130ee1c72ab68871 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Mon, 18 Jul 2016 23:54:29 +0200 Subject: [PATCH] lxc-copy: update manpage to include tmpfs option Signed-off-by: Christian Brauner --- doc/lxc-copy.sgml.in | 53 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 43 insertions(+), 10 deletions(-) diff --git a/doc/lxc-copy.sgml.in b/doc/lxc-copy.sgml.in index 956939fd8..475feb05b 100644 --- a/doc/lxc-copy.sgml.in +++ b/doc/lxc-copy.sgml.in @@ -55,7 +55,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -p, --newpath newpath -B, --backingstorage backingstorage -s, --snapshot - -K, --keepdata + -K, --keepname + -D, --keepdata -M, --keepmac -L, --fssize size [unit] -- hook arguments @@ -69,11 +70,26 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -e, --ephemeral -B, --backingstorage backingstorage -s, --snapshot - -K, --keepdata + -K, --keepname + -D, --keepdata -M, --keepmac -L, --fssize size [unit] -- hook arguments + + lxc-copy + -n, --name name + -P, --lxcpath path + -N, --newname newname + -p, --newpath newpath + -e, --ephemeral + -B, --backingstorage backingstorage + -s, --snapshot + -t, --tmpfs + -K, --keepname + -M, --keepmac + -- hook arguments + lxc-copy -n, --name name @@ -115,7 +131,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA config file and will be destroyed on shutdown. When -e is used in combination with -D a non-ephemeral snapshot of the original - container is created and started. + container is created and started. + Ephemeral containers can also be placed on a tmpfs with -t + flag. NOTE: If an ephemeral container that is placed on a tmpfs is rebooted + all changes made to it will currently be lost! + When -e is specified and no newname is given via @@ -222,6 +242,19 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + + + When this option is specified the ephemeral container will be + placed on a tmpfs. NOTE: Rebooting an ephemeral container that is + located on a tmpfs will currently cause all changes made to it to be + lost. This flag will only work for ephemeral containers created with + the -e flag. The original container, from + which the ephemeral snapshot is created, must be stored as a simple + directory. + + + @@ -238,6 +271,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + + + When this option is specified the hostname of the original + container will be kept for the copy. + + @@ -246,13 +286,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA and started. - - - - When this option is specified the hostname of the original - container will be kept for the copy. - -