Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix: Exclude autofs mount type from disk counts. Related to #942

rcourtman03e9f98ab61d
diff --git a/pkg/fsfilters/filters.go b/pkg/fsfilters/filters.go
index 4755136df5..08b520e646 100644
--- a/pkg/fsfilters/filters.go
+++ b/pkg/fsfilters/filters.go
@@ -76,6 +76,7 @@ var virtualFSTypes = map[string]bool{
"bpf": true,
"overlay": true, // Docker/container overlay filesystems (issue #942)
"overlayfs": true, // Alternative overlay name
+ "autofs": true, // Systemd automount placeholders (issue #942)
}
// networkFSPatterns are substrings that indicate network/remote filesystems.
diff --git a/pkg/fsfilters/filters_test.go b/pkg/fsfilters/filters_test.go
index ca5fd9439b..edebf95559 100644
--- a/pkg/fsfilters/filters_test.go
+++ b/pkg/fsfilters/filters_test.go
@@ -158,6 +158,7 @@ func TestShouldSkipFilesystem(t *testing.T) {
{"sysfs", "sysfs", "/sys", 0, 0, true},
{"proc", "proc", "/proc", 0, 0, true},
{"virtual fs case insensitive", "TMPFS", "/tmp", 1024, 512, true},
+ {"autofs automount", "autofs", "/mnt/samba/share", 0, 0, true},
// Network filesystem types
{"nfs mount", "nfs4", "/mnt/nas", 1000000, 500000, true},