p_mount: skip tmpfs
This commit is contained in:
parent
d4f0db33b2
commit
7ab72054ad
@ -71,6 +71,9 @@ static void probe(void)
|
|||||||
if (!strcmp(mnt->mnt_type, "nfs"))
|
if (!strcmp(mnt->mnt_type, "nfs"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (!strcmp(mnt->mnt_type, "tmpfs"))
|
||||||
|
continue;
|
||||||
|
|
||||||
if (statfs(mnt->mnt_dir, &fs) == -1) {
|
if (statfs(mnt->mnt_dir, &fs) == -1) {
|
||||||
log_print(LOG_WARN, "plugin mount: statfs(%s)", mnt->mnt_dir);
|
log_print(LOG_WARN, "plugin mount: statfs(%s)", mnt->mnt_dir);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user