From 7ab72054ad9fb8c3c0b9e5dc49d9c9a9a0522622 Mon Sep 17 00:00:00 2001 From: Olaf Rempel Date: Thu, 27 Jul 2006 16:12:34 +0200 Subject: [PATCH] p_mount: skip tmpfs --- p_mount.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/p_mount.c b/p_mount.c index 412f39f..a85ee80 100644 --- a/p_mount.c +++ b/p_mount.c @@ -71,6 +71,9 @@ static void probe(void) if (!strcmp(mnt->mnt_type, "nfs")) continue; + if (!strcmp(mnt->mnt_type, "tmpfs")) + continue; + if (statfs(mnt->mnt_dir, &fs) == -1) { log_print(LOG_WARN, "plugin mount: statfs(%s)", mnt->mnt_dir); continue;