chiark / gitweb /
util-lib: make verbose_mount() grok MS_MOVE
[elogind.git] / src / basic / mount-util.c
index f99a543ec54b698e158c94dd060902c535706c18..402e55bcff500dea177a1062df357dec6528fe20 100644 (file)
@@ -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));