Documentation ¶
Index ¶
- Constants
- func WriteDefault(filename string, tableType TableType) error
- type Mbr
- func (mbr *Mbr) GetNumPartitions() uint
- func (mbr *Mbr) GetPartitionOffset(index uint) uint64
- func (mbr *Mbr) GetPartitionSize(index uint) uint64
- func (mbr *Mbr) SetPartitionOffset(index uint, offset uint64) error
- func (mbr *Mbr) SetPartitionSize(index uint, size uint64) error
- func (mbr *Mbr) Write(filename string) error
- type TableType
Constants ¶
View Source
const ( TABLE_TYPE_AIX TABLE_TYPE_AMIGA TABLE_TYPE_BSD TABLE_TYPE_DVH TABLE_TYPE_GPT TABLE_TYPE_LOOP TABLE_TYPE_MAC TABLE_TYPE_MSDOS TABLE_TYPE_PC98 TABLE_TYPE_SUN )
Variables ¶
This section is empty.
Functions ¶
func WriteDefault ¶
Types ¶
type Mbr ¶
type Mbr struct {
// contains filtered or unexported fields
}
func (*Mbr) GetNumPartitions ¶
func (*Mbr) GetPartitionOffset ¶
func (*Mbr) GetPartitionSize ¶
func (*Mbr) SetPartitionOffset ¶ added in v0.3.2
func (*Mbr) SetPartitionSize ¶ added in v0.3.2
Click to show internal directories.
Click to hide internal directories.