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