- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getMajorMinor (0.08 sec)
-
docs/debugging/reorder-disks/main.go
return nil }) if err != nil { return nil, err } return result, nil } type localDisk struct { index int path string } func getMajorMinor(path string) (string, error) { var stat syscall.Stat_t if err := syscall.Stat(path, &stat); err != nil { return "", fmt.Errorf("unable to stat `%s`: %w", path, err) } devID := uint64(stat.Dev)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0)