- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for ProcDiskstats (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/disk/stat_linux.go
} info.Used = info.Total - info.Free if firstTime { bfs, err := blockdevice.NewDefaultFS() if err == nil { devName := "" diskstats, _ := bfs.ProcDiskstats() for _, dstat := range diskstats { // ignore all loop devices if strings.HasPrefix(dstat.DeviceName, "loop") { continue } if dstat.MajorNumber == info.Major && dstat.MinorNumber == info.Minor {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0)