Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AdvSize is the total size. AdvSize = 512 // AdvLen is the usable data size. AdvLen = AdvSize - 3*4 // AdvMagic1 is the head signature. AdvMagic1 = uint32(0x5a2d2fa5) // AdvMagic2 is the total checksum. AdvMagic2 = uint32(0xa3041767) // AdvMagic3 is the tail signature. AdvMagic3 = uint32(0xdd28bf64) )
View Source
const ( // AdvEnd is the noop tag. AdvEnd = iota // AdvBootonce is the bootonce tag. AdvBootonce // AdvMenusave is the menusave tag. AdvMenusave // AdvReserved1 is a reserved tag. AdvReserved1 // AdvReserved2 is a reserved tag. AdvReserved2 // AdvReserved3 is a reserved tag. AdvReserved3 // AdvUpgrade is the upgrade tag. AdvUpgrade )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADV ¶ added in v0.7.0
type ADV []byte
ADV represents the Syslinux Auxiliary Data Vector.
func NewADV ¶ added in v0.7.0
func NewADV(r io.ReadSeeker) (adv ADV, err error)
NewADV returns the Auxiliary Data Vector.
type Bootloader ¶
type Bootloader interface { Labels() (string, string, error) Install(string, interface{}, runtime.Sequence) error Default(string) error }
Bootloader describes a bootloader.
Click to show internal directories.
Click to hide internal directories.