[CRIU] Re: [PATCH cr 2/2] mount: add support of tmpfs (v3)

Pavel Emelyanov xemul at parallels.com
Thu Aug 9 11:52:52 EDT 2012


On 08/09/2012 05:36 PM, Andrey Vagin wrote:
> 
> tar is used for dumping content of tmpfs
> 
> v2: Fail if if something is mounted on top of tmpfs
> v3: adapt for current logic
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
>  image.c                             |    1 +
>  include/crtools.h                   |    2 +
>  include/image.h                     |    1 +
>  mount.c                             |  139 +++++++++++++++++++++++++++++++++++
>  test/zdtm/live/static/mountpoints.c |   12 +++-
>  5 files changed, 154 insertions(+), 1 deletions(-)
> 

Both applied. One question:

> +		execlp("tar", "tar", "-czlp",
> +			"--sparse",
> +			"--numeric-owner",
> +			"-C", tmpfs_path, ".", NULL);

You call "tar -czlp --sparse --numeric-owner -C /proc/self/fd/<xxx> ."
What is this last dot for?



Thanks,
Pavel


More information about the CRIU mailing list