Ignore more virtual filesystems (#775)

Add additional Linux virtual filesystem types to the default list.
This commit is contained in:
Ben Kochie 2018-01-03 17:22:02 +01:00 committed by GitHub
parent 2aa8d0eb0c
commit 7f6c59e198
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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
)