X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fdf.c;h=dc7be1ebd8238a3f6913819c1d406d3f4130ae6c;hb=3512bb1a50e2bf1a7f2998101fb5e7c5783bfa51;hp=22264d30228f5f8d8f5946beec819f20844cfd7f;hpb=07739dab47ddd4d51f82e37135dcfcd2addf1812;p=collectd.git diff --git a/src/df.c b/src/df.c index 22264d30..dc7be1eb 100644 --- a/src/df.c +++ b/src/df.c @@ -257,6 +257,8 @@ static int df_read (void) { if (strcmp (mnt_ptr->dir, "/") == 0) { + if (strcmp (mnt_ptr->type, "rootfs") == 0) + continue; sstrncpy (disk_name, "root", sizeof (disk_name)); } else