Exclude devfs from list of supported file systems.

Patch submitted by A. de Bruet.
This commit is contained in:
mmdolze
2008-11-01 06:57:36 +00:00
parent 099611ab03
commit e8ffb14d77
+1
View File
@@ -169,6 +169,7 @@ int machine_get_fs(mounts_type fs[], int *cnt)
for (statcnt = 0, pp = mntbuf, i = 0; i < fscnt; pp++, i++)
{
if ( strcmp(pp->f_fstypename, "procfs")
&& strcmp(pp->f_fstypename, "devfs")
&& strcmp(pp->f_fstypename, "kernfs")
&& strcmp(pp->f_fstypename, "linprocfs")
#ifndef STAT_NFS