package
2.0.3
Repository: https://github.com/siderolabs/go-blockdevice.git
Documentation: pkg.go.dev

# Functions

NewFromFile returns a new Device from the specified file.
NewFromPath returns a new Device from the specified path.
OpenForWrite opens the device for writing.

# Constants

DefaultBlockSize is the default block size in bytes.
FastWipeRange fast wipe block.

# Structs

Device wraps blockdevice operations.
DeviceProperties contains the properties of a block device.
Options for NewFromPath.

# Type aliases

Option is a function that modifies Options.