projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
668a504
)
df plugin: Match `spec_device' rather than `device' when matching the `Device' ignore...
author
Lubos Stanek
<lubek@users.sourceforge.net>
Tue, 21 Nov 2006 16:13:56 +0000
(17:13 +0100)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Tue, 21 Nov 2006 16:13:56 +0000
(17:13 +0100)
src/df.c
patch
|
blob
|
history
diff --git
a/src/df.c
b/src/df.c
index
41f1d83
..
d327164
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;