- Sort Score
- Num 10 results
- Language All
Results 11 - 12 of 12 for majorMinor (0.46 seconds)
-
internal/disk/stat_windows.go
info.Files = uint64(lpTotalNumberOfClusters) info.Ffree = uint64(lpNumberOfFreeClusters) return info, nil } // GetDriveStats returns IO stats of the drive by its major:minor func GetDriveStats(major, minor uint32) (iostats IOStats, err error) { return IOStats{}, errors.New("operation unsupported")
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 4.1K bytes - Click Count (0) -
internal/disk/stat_linux.go
info.Rotational = &rot } } } } return info, nil } // GetDriveStats returns IO stats of the drive by its major:minor func GetDriveStats(major, minor uint32) (iostats IOStats, err error) { return readDriveStats(fmt.Sprintf("/sys/dev/block/%v:%v/stat", major, 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)