From 22a7dbae083fbe0d2abd05d555cda0c80951a034 Mon Sep 17 00:00:00 2001 From: Leonid Evdokimov Date: Tue, 18 Jun 2019 18:47:05 +0200 Subject: [PATCH] Ignore iso9600 filesystem on Linux (#1355) The filesystem is read-only and is often used for a virtual FS with a configuration file for a virtual machine. Signed-off-by: Leonid Evdokimov --- collector/filesystem_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/filesystem_linux.go b/collector/filesystem_linux.go index d8c0be6e..f76aeaa2 100644 --- a/collector/filesystem_linux.go +++ b/collector/filesystem_linux.go @@ -30,7 +30,7 @@ import ( const ( defIgnoredMountPoints = "^/(dev|proc|sys|var/lib/docker/.+)($|/)" - defIgnoredFSTypes = "^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$" + defIgnoredFSTypes = "^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$" mountTimeout = 30 * time.Second )