[FIX] Exclude Linux proc from filesystem type regexp

This commit is contained in:
barnettZQG 2018-06-08 17:13:28 +08:00
parent 6f31c04351
commit ffb6425d46

View File

@ -26,7 +26,7 @@ import (
const (
defIgnoredMountPoints = "^/(sys|proc|dev)($|/)"
defIgnoredFSTypes = "^(sys|proc|auto)fs$"
defIgnoredFSTypes = "^(sysfs|autofs|procfs|proc)$"
readOnly = 0x1 // ST_RDONLY
)