[Pkg-libvirt-commits] [libguestfs] 94/156: daemon: Add extra debugging to umount_all command.
Hilko Bengen
bengen at moszumanska.debian.org
Sat Aug 30 08:26:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository libguestfs.
commit f75e3230e8cf01371e9889014f99f76f936256b1
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.
(cherry picked from commit fc7da04ccd2871a64447dff531ca332decb4bc0d)
---
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