Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
Signature uint16
MapEntries uint32
PhysicalBlockStart uint32
PhysicalBlocks uint32
Name string
Type string
LogicalBlockStart uint32
LogicalBlocks uint32
Flags uint32
BootBlock uint32
BootBytes uint32
}
Entry is one Apple Partition Map slot.
type Options ¶
type Options struct {
// HFSSize is the HFS/HFS+ partition size in bytes. If 0, the remainder of the disk is used.
HFSSize int64
Name string
HFSX bool
}
Options for Initialize.
type Table ¶
type Table struct {
Entries []Entry
// contains filtered or unexported fields
}
Table is an Apple Partition Map.
func Initialize ¶
Initialize writes a Driver Descriptor Map and a 3-entry APM (Apple_partition_map, Apple_HFS/HFSX, Apple_Free leftover).
func (*Table) Partitions ¶
Click to show internal directories.
Click to hide internal directories.