projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f582cbc
)
util-lib: make verbose_mount() grok MS_MOVE
author
Lennart Poettering
<lennart@poettering.net>
Fri, 9 Dec 2016 16:35:48 +0000
(17:35 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 20 Dec 2016 19:00:09 +0000
(20:00 +0100)
Let's print a proper message if we see MS_MOVE.
src/basic/mount-util.c
patch
|
blob
|
history
diff --git
a/src/basic/mount-util.c
b/src/basic/mount-util.c
index
840e94a
..
f0bc9ca
100644
(file)
--- 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));