From ddb911735889d9f2e087f079943f3b883f6251b9 Mon Sep 17 00:00:00 2001 From: Lubos Stanek Date: Tue, 21 Nov 2006 17:13:56 +0100 Subject: [PATCH] df plugin: Match `spec_device' rather than `device' when matching the `Device' ignorelist. --- src/df.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/df.c b/src/df.c index 41f1d838..d327164a 100644 --- 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; -- 2.11.0