diff --git a/backend/app/service/dashboard.go b/backend/app/service/dashboard.go index 478f8811a..298a5947d 100644 --- a/backend/app/service/dashboard.go +++ b/backend/app/service/dashboard.go @@ -222,7 +222,10 @@ func loadDiskInfo() []dto.DiskInfo { if len(fields) < 7 { continue } - if fields[1] == "tmpfs" { + if strings.HasPrefix(fields[6], "/snap") || len(strings.Split(fields[6], "/")) > 10 { + continue + } + if strings.TrimSpace(fields[1]) == "tmpfs" { continue } if strings.Contains(fields[2], "K") {