2016-11-03 11:51:36 +00:00
|
|
|
// Device reading functions
|
|
|
|
|
2021-09-09 12:25:25 +00:00
|
|
|
//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris
|
2016-11-03 11:51:36 +00:00
|
|
|
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris
|
|
|
|
|
|
|
|
package local
|
|
|
|
|
|
|
|
import "os"
|
|
|
|
|
|
|
|
// readDevice turns a valid os.FileInfo into a device number,
|
|
|
|
// returning devUnset if it fails.
|
2018-05-14 17:06:57 +00:00
|
|
|
func readDevice(fi os.FileInfo, oneFileSystem bool) uint64 {
|
2016-11-03 11:51:36 +00:00
|
|
|
return devUnset
|
|
|
|
}
|