Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopySplitTar ¶
CopySplitTar copies a tar stream into an initrd, but splits out kernel and cmdline
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer is an io.WriteCloser that writes to an initrd This is a compressed cpio archive, zero padded to 4 bytes
func (*Writer) WriteHeader ¶
WriteHeader writes a cpio header into an initrd
Click to show internal directories.
Click to hide internal directories.