mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-27 04:28:20 +00:00
17 lines
439 B
Go
Vendored
17 lines
439 B
Go
Vendored
package diskfs
|
|
|
|
import (
|
|
"errors"
|
|
"os"
|
|
)
|
|
|
|
// getBlockDeviceSize get the size of an opened block device in Bytes.
|
|
func getBlockDeviceSize(f *os.File) (int64, error) {
|
|
return 0, errors.New("block devices not supported on windows")
|
|
}
|
|
|
|
// getSectorSizes get the logical and physical sector sizes for a block device
|
|
func getSectorSizes(f *os.File) (int64, int64, error) {
|
|
return 0, 0, errors.New("block devices not supported on windows")
|
|
}
|