Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllPartitions ¶
func GetAllPartitions(logger *types.KairosLogger) (types.PartitionList, error)
GetAllPartitions returns all partitions in the system for all disks
func GetEfiPartition ¶ added in v2.7.13
func GetEfiPartition(logger *types.KairosLogger) (*types.Partition, error)
GetEfiPartition returns the EFI partition by looking for the partition with the label "COS_GRUB"
func GetMountPointByLabel ¶ added in v2.14.1
GetMountPointByLabel will try to get the mountpoint by using the label only so we can identify mounts the have been mounted with /dev/disk/by-label stanzas
func GetPartitionViaDM ¶
GetPartitionViaDM tries to get the partition via devicemapper for reset We only need to get all this info due to the fS that we need to use to format the partition Otherwise we could just format with the label ¯\_(ツ)_/¯ TODO: store info about persistent and oem in the state.yaml so we can directly load it
Types ¶
This section is empty.