[FIX] Exclude Linux proc from filesystem type regexp (#774)
* [FIX] Issue 63, error on excluding proc filesystem on linux, improving regexp * [FIX] Reordering filter order
This commit is contained in:
parent
f536857ac6
commit
2aa8d0eb0c
|
@ -26,7 +26,7 @@ import (
|
|||
|
||||
const (
|
||||
defIgnoredMountPoints = "^/(sys|proc|dev)($|/)"
|
||||
defIgnoredFSTypes = "^(sys|proc|auto)fs$"
|
||||
defIgnoredFSTypes = "^(sysfs|autofs|procfs|proc)$"
|
||||
readOnly = 0x1 // ST_RDONLY
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue