2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

tmpfs: use the --one-file-system option for dumping tmpfs with help tar

Actully for dumping tmpfs it should be remounted to somewhere else to
avoid overmounts.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2013-07-09 15:05:49 +04:00
committed by Pavel Emelyanov
parent e7b656190e
commit 5eb254b016

View File

@@ -276,6 +276,7 @@ static int tmpfs_dump(struct mount_info *pm)
ret = cr_system(-1, fd_img, -1, "tar", (char *[])
{ "tar", "--create",
"--gzip",
"--one-file-system",
"--check-links",
"--preserve-permissions",
"--sparse",