Skip to content

Commit

Permalink
Ignore more virtual filesystems (#775)
Browse files Browse the repository at this point in the history
Add additional Linux virtual filesystem types to the default list.
  • Loading branch information
SuperQ authored Jan 3, 2018
1 parent 2aa8d0e commit 7f6c59e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collector/filesystem_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import (
)

const (
defIgnoredMountPoints = "^/(sys|proc|dev)($|/)"
defIgnoredFSTypes = "^(sysfs|autofs|procfs|proc)$"
defIgnoredMountPoints = "^/(dev|proc|sys)($|/)"
defIgnoredFSTypes = "^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$"
readOnly = 0x1 // ST_RDONLY
)

Expand Down

0 comments on commit 7f6c59e

Please sign in to comment.