package
7.0.0+incompatible
Repository: https://github.com/u-root/u-root.git
Documentation: pkg.go.dev

# Functions

NewSGDisk returns a Disk that uses the Linux SCSI Generic Device.
WithTimeout returns an SGDiskOpt that allows setting a non-default TimeOut.

# Constants

DefaultTimeout is the default timeout for disk operations.

# Variables

Debug is an empty function you can replace with, e.g., log.Printf.

# Structs

Info is information about a SCSI disk device.
SGDisk implements a Disk using the Linux SG device.

# Interfaces

Disk is the interface to a disk, with operations to create packets and operate on them.

# Type aliases

No description provided by the author
SGDiskOpt allows callers of NewSGDisk to set values.