From: Lennart Poettering Date: Fri, 9 Dec 2016 16:35:48 +0000 (+0100) Subject: util-lib: make verbose_mount() grok MS_MOVE X-Git-Tag: v233~237^2~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afe682bc7f1d9a089cb5dfb439929f3791c18d22;p=thirdparty%2Fsystemd.git util-lib: make verbose_mount() grok MS_MOVE Let's print a proper message if we see MS_MOVE. --- diff --git a/src/basic/mount-util.c b/src/basic/mount-util.c index 840e94a5535..f0bc9cac188 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));