Skip to content
Snippets Groups Projects
Unverified Commit b81bea65 authored by Daniel Nelson's avatar Daniel Nelson Committed by GitHub
Browse files

Always ignore autofs filesystems in disk input (#3440)

parent 2c2dc977
No related branches found
No related tags found
No related merge requests found
......@@ -85,6 +85,11 @@ func (s *systemPS) DiskUsage(
fstypeExcludeSet[filter] = true
}
// Autofs mounts indicate a potential mount, the partition will also be
// listed with the actual filesystem when mounted. Ignore the autofs
// partition to avoid triggering a mount.
fstypeExcludeSet["autofs"] = true
var usage []*disk.UsageStat
var partitions []*disk.PartitionStat
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment