From ab1b94e886a4c62820eb88468bd377b4a1024c40 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 9 Dec 2016 17:35:48 +0100 Subject: [PATCH] util-lib: make verbose_mount() grok MS_MOVE Let's print a proper message if we see MS_MOVE. --- src/basic/mount-util.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/basic/mount-util.c b/src/basic/mount-util.c index f99a543ec..402e55bcf 100644 --- a/src/basic/mount-util.c +++ b/src/basic/mount-util.c @@ -674,6 +674,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)); -- 2.30.2