Code

New plugin "mbmon" to collect motherboard status information:
[collectd.git] / src / df.c
index 41f1d83824d574e9552471cdc121b7f6e30ebd22..d327164ac601e3a98c59217122240b0e77b8ea4b 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -210,7 +210,10 @@ static void df_read (void)
                                        mnt_name[i] = '-';
                }
 
-               if (ignorelist_match (il_device, mnt_ptr->device))
+               if (ignorelist_match (il_device,
+                                       (mnt_ptr->spec_device != NULL)
+                                       ? mnt_ptr->spec_device
+                                       : mnt_ptr->device))
                        continue;
                if (ignorelist_match (il_mountpoint, mnt_ptr->dir))
                        continue;