X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdf.c;h=ded374b942e5d08d804dd027292eef2ef9f50fcb;hb=82e27678f8972d2625b466e7e7ba9daaa6395c98;hp=41a03cbf6280067815419d8802c5d431c0fd239f;hpb=483e801902bca3c779793224eddf3bb2749d7288;p=collectd.git diff --git a/src/df.c b/src/df.c index 41a03cbf..ded374b9 100644 --- a/src/df.c +++ b/src/df.c @@ -228,6 +228,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