util-lib: make verbose_mount() grok MS_MOVE
Let's print a proper message if we see MS_MOVE.
This commit is contained in:
@@ -673,6 +673,9 @@ int mount_verbose(
|
||||
else if ((flags & MS_BIND) && !type)
|
||||
log_debug("Bind-mounting %s on %s (%s \"%s\")...",
|
||||
what, where, strnull(fl), strempty(options));
|
||||
else if (flags & MS_MOVE)
|
||||
log_debug("Moving mount %s → %s (%s \"%s\")...",
|
||||
what, where, strnull(fl), strempty(options));
|
||||
else
|
||||
log_debug("Mounting %s on %s (%s \"%s\")...",
|
||||
strna(type), where, strnull(fl), strempty(options));
|
||||
|
||||
Reference in New Issue
Block a user