[CRIU] [PATCH] mount: don't create a temporary directory for pivot_root()
Pavel Emelyanov
xemul at parallels.com
Thu Oct 9 08:19:36 PDT 2014
On 10/05/2014 02:41 AM, Andrey Vagin wrote:
> I found this solution in the LXC code. We can open the old root, call
> pivot_root(".", "."), call fchdir to the old root and call umount(".").
>
> Now restore will not fail, if the root is read-only.
> In addition it's a bit faster.
>
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
Applied
More information about the CRIU
mailing list