p_mount: skip tmpfs

This commit is contained in:
Olaf Rempel 2006-07-27 16:12:34 +02:00
parent d4f0db33b2
commit 7ab72054ad

View File

@ -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;