mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-21 01:06:58 +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:
parent
e7b656190e
commit
5eb254b016
1 changed files with 1 additions and 0 deletions
1
mount.c
1
mount.c
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue