Documentation ¶
Overview ¶
Package gpt provides a minimal reader for partition tables in GPT (GUID partition tables) format, just enough for the rootdev package to match block devices to root=PARTUUID= kernel parameters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GUIDFromBytes ¶
GUIDFromBytes returns the canonical string representation of the specified GUID.
func PartitionUUIDs ¶
PartitionUUIDs returns the ids of all GPT partitions on the disk. Currently, only the first partition id will be returned, as that is all that gokrazy currently can ever match.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.