drives

package
v0.0.0-...-b664000 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromDevice

func FromDevice(device types.Device) (types.Drive, error)

FromDevice returns the (symlink'd) kernel object name for the DR. e.g. `\\.\PhysicalDrive0`

func FromVolume

func FromVolume(volume types.Volume) (drives []types.Drive, err error)

func GetSerial

func GetSerial(disk types.Drive) (string, error)

func List

func List() ([]types.Drive, error)

func Readonly

func Readonly(disk types.Drive) (bool, error)

func Writable

func Writable(disk types.Drive) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL