[systemd-devel] [PATCH 1/6] umount: log_info about what we unmounted
harald at redhat.com
harald at redhat.com
Tue May 31 08:06:55 PDT 2011
From: Harald Hoyer <harald at redhat.com>
Signed-off-by: Harald Hoyer <harald at redhat.com>
---
src/umount.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/umount.c b/src/umount.c
index 3d328e0..5f9d7e4 100644
--- a/src/umount.c
+++ b/src/umount.c
@@ -417,6 +417,7 @@ static int mount_points_list_umount(MountPoint **head, bool *changed) {
/* Trying to umount. Forcing to umount if busy (only for NFS mounts) */
if (umount2(m->path, MNT_FORCE) == 0) {
+ log_info("Unmounted %s.", m->path);
if (changed)
*changed = true;
--
1.7.5.2
More information about the systemd-devel
mailing list