[Pkg-libvirt-commits] [libguestfs] 35/266: daemon: Add extra debugging to umount_all command.

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:41:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.35-1
in repository libguestfs.

commit fc7da04ccd2871a64447dff531ca332decb4bc0d
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Fri Jul 25 16:03:09 2014 +0100

    daemon: Add extra debugging to umount_all command.
    
    No functional change, just prints some more debug messages.
---
 daemon/mount.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/daemon/mount.c b/daemon/mount.c
index 6a679a4..c5b7d89 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -390,6 +390,12 @@ do_umount_all (void)
   }
 
   while ((m = getmntent (fp)) != NULL) {
+    if (verbose) {
+      fprintf (stderr, "umount-all: /proc/mounts: fsname=%s dir=%s type=%s opts=%s freq=%d passno=%d\n",
+               m->mnt_fsname, m->mnt_dir, m->mnt_type, m->mnt_opts,
+               m->mnt_freq, m->mnt_passno);
+    }
+
     /* Allow a mount directory like "/sysroot". */
     if (sysroot_len > 0 && STREQ (m->mnt_dir, sysroot)) {
       if (add_string (&mounts, m->mnt_dir) == -1) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list