From 2a49d7b02402f6555e641a9943f615497f87b67b Mon Sep 17 00:00:00 2001 From: neingeist Date: Tue, 19 Mar 2013 09:14:10 +0100 Subject: [PATCH] ignore cgroup format --- conky-disks | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/conky-disks b/conky-disks index e5d208f..0103279 100755 --- a/conky-disks +++ b/conky-disks @@ -7,9 +7,11 @@ use Sys::Filesystem (); use Filesys::Df qw(df); use IO::Socket; -my @ignoreformats = qw(tmpfs sysfs devtmpfs devpts proc binfmt_misc +my @ignoreformats = qw( + tmpfs sysfs devtmpfs devpts proc binfmt_misc fusectl fuse.gvfsd-fuse fuse.vmware-vmblock - debugfs securityfs swap iso9660 udf); + debugfs securityfs swap iso9660 udf cgroup + ); my $color_ok = "#78af78"; my $color_warn = "#ffff00"; @@ -50,7 +52,7 @@ for my $f (@filesystems) { for my $f (@filesystems) { my $mount_point = $fs->mount_point($f); - my $format= $fs->format($f); + my $format = $fs->format($f); next if grep { /^$format$/xsm } @ignoreformats;