X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdf.c;h=ded374b942e5d08d804dd027292eef2ef9f50fcb;hb=0f9c7ce19f32c64ae54f0132763d9f38cf57b5b1;hp=41a03cbf6280067815419d8802c5d431c0fd239f;hpb=3b473acc5d4d27e5cf5101a4b8cc8a21c2bb7262;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