for Linux add tmpfs to the list of filesystems not to be examined

This commit is contained in:
marschap
2005-02-26 10:08:50 +00:00
parent e55b1aa204
commit 20299a4077
+2 -1
View File
@@ -252,7 +252,8 @@ int machine_get_fs(mounts_type fs[], int *cnt)
sscanf(line, "%s %s %s", fs[x].dev, fs[x].mpoint, fs[x].type);
if(strcmp(fs[x].type, "proc")
if (strcmp(fs[x].type, "proc")
&& strcmp(fs[x].type, "tmpfs")
#ifndef STAT_NFS
&& strcmp(fs[x].type, "nfs")
#endif