diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-09 17:35:48 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-12-20 20:00:09 +0100 |
commit | afe682bc7f1d9a089cb5dfb439929f3791c18d22 (patch) | |
tree | 2200403642b3e20e8eea57b2589045f3fb3a4ada | |
parent | f582cbca0029d3867620dfa7df86534d2a241275 (diff) |
util-lib: make verbose_mount() grok MS_MOVE
Let's print a proper message if we see MS_MOVE.
-rw-r--r-- | src/basic/mount-util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/basic/mount-util.c b/src/basic/mount-util.c index 840e94a553..f0bc9cac18 100644 --- a/src/basic/mount-util.c +++ b/src/basic/mount-util.c @@ -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)); |