2016-11-03 12:51:36 +01:00
|
|
|
// Device reading functions
|
|
|
|
|
2021-09-09 14:25:25 +02:00
|
|
|
//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris
|
2016-11-03 12:51:36 +01: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 19:06:57 +02:00
|
|
|
func readDevice(fi os.FileInfo, oneFileSystem bool) uint64 {
|
2016-11-03 12:51:36 +01:00
|
|
|
return devUnset
|
|
|
|
}
|