Permalink
Browse files

df: exclude cgroup_root filesystem type as well.

This is simply used by Gentoo (and possibly other distribution) to
mount /sys/fs/cgroup base path, where the actual cgroup filesystems
are mounted.
  • Loading branch information...
1 parent 47d4bc2 commit eb7b7a197c86d064b0718a0d407fd49758cbd15c @Flameeyes Flameeyes committed Jul 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/node.d.linux/df.in
@@ -87,7 +87,7 @@ use Munin::Plugin;
# For these devices use the mount point, the device is useless
my %usemntpt = ( tmpfs => 1, none => 1, udev => 1 );
-my $exclude = $ENV{'exclude'} || 'none unknown rootfs iso9660 squashfs udf romfs ramfs debugfs simfs';
+my $exclude = $ENV{'exclude'} || 'none unknown rootfs iso9660 squashfs udf romfs ramfs debugfs simfs cgroup_root';
my $dfopts = "-P -l ".join(' -x ',('',split('\s+',$exclude)));
my $mode = ($ARGV[0] or "print");

0 comments on commit eb7b7a1

Please sign in to comment.