Commit 5289ea97 authored by Pavel Emelyanov's avatar Pavel Emelyanov

mnt: Extend comment about how mntinfo->mountpoint path looks like

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 9fd793e5
...@@ -107,9 +107,13 @@ struct mount_info { ...@@ -107,9 +107,13 @@ struct mount_info {
unsigned int s_dev; unsigned int s_dev;
char *root; char *root;
/* /*
* mountpoint contains path with dot at the beginning. * During dump mountpoint contains path with dot at the
* It allows to use openat, statat, etc without creating * beginning. It allows to use openat, statat, etc without
* a temporary copy. * creating a temporary copy of the path.
*
* On restore mountpoint is prepended with so called ns
* root path -- it's a place in fs where the namespace
* mount tree is constructed. Check mnt_roots for details.
*/ */
char *mountpoint; char *mountpoint;
unsigned flags; unsigned flags;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment