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 {
unsigned int s_dev;
char *root;
/*
* mountpoint contains path with dot at the beginning.
* It allows to use openat, statat, etc without creating
* a temporary copy.
* During dump mountpoint contains path with dot at the
* beginning. It allows to use openat, statat, etc without
* 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;
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