X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fdf.c;h=ded374b942e5d08d804dd027292eef2ef9f50fcb;hb=77311aed583ac4566d76f1ce3a1dc9deae2e59dc;hp=41a03cbf6280067815419d8802c5d431c0fd239f;hpb=f1ba2733d2c58fed90c13e9ae31cb7c1f3c5613e;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