From fcb3cbf43fce07261fd30611edbc4e61bcbcee37 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 5 Jul 2010 20:08:04 +0200 Subject: [PATCH] df plugin: Remove the "ReportReserved" config option. --- src/collectd.conf.pod | 16 ---------------- src/df.c | 5 ----- 2 files changed, 21 deletions(-) diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 2cfa196f..d7cad071 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -994,22 +994,6 @@ Report using the device name rather than the mountpoint. i.e. with this I (the default), it will report a disk as "root", but with it I, it will be "sda1" (or whichever). -=item B B|B - -When enabled, the blocks reserved for root are reported separately. When -disabled (the default for backwards compatibility reasons) the reserved space -will be included in the "free" space. - -When disabled, the "df" type will be used to store "free" and "used" space. The -mount point or disk name (see option B) is used as type -instance in this case (again: backwards compatibility). - -When enabled, the type "df_complex" is used and three files are created. The -mount point or disk name is used as plugin instance and the type instance is -set to "free", "reserved" and "used" as appropriate. - -Enabling this option is recommended. - =item B B|B Enables or disables reporting of free, reserved and used inodes. Defaults to diff --git a/src/df.c b/src/df.c index 61d0c28c..a96b79e5 100644 --- a/src/df.c +++ b/src/df.c @@ -120,11 +120,6 @@ static int df_config (const char *key, const char *value) return (0); } - else if (strcasecmp (key, "ReportReserved") == 0) - { - /* Nop for backwards compatibility. */ - return (0); - } else if (strcasecmp (key, "ReportInodes") == 0) { if (IS_TRUE (value)) -- 2.11.0