[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:
Netmonk 2018-01-03 11:40:32 +01:00 committed by Ben Kochie
parent f536857ac6
commit 2aa8d0eb0c
1 changed files with 1 additions and 1 deletions

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
)