disk

package
v0.0.0-...-8162bcc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MBRPartitionOffset is the offset where to find the MBR partition.
	MBRPartitionOffset = 0

	// BootPartitionOffset is the offset where to find the Boot partition.
	BootPartitionOffset = 8192 * 512

	// RootPartitionOffset is the offset where to find the first Root partition.
	RootPartitionOffset = BootPartitionOffset + 100*mb
)

Variables

This section is empty.

Functions

func PartsToFull

func PartsToFull(mbrSourcePath, bootSourcePath, rootSourcePath, destPath string) error

PartsToFull merges multi parts (mbr, boot, root) image files of a disk into a single disk image file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL