Documentation ¶
Overview ¶
Package disk provides support for SD/MMC card partition access, only ext4 filesystems are currently supported.
This package is only meant to be used with `GOOS=tamago GOARCH=arm` as supported by the TamaGo framework for bare metal Go on ARM SoCs, see https://github.com/usbarmory/tamago.
Index ¶
Constants ¶
View Source
const DefaultBootDevice = "uSD"
DefaultBootDevice is the default boot device
View Source
const DefaultOffset = 5242880
DefaultOffset is the default start offset of the ext4 partition
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Partition ¶
Partition represents an SD/MMC card partition, only ext4 filesystems are currently supported.
Click to show internal directories.
Click to hide internal directories.