mount

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mount provides bootloader mount operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBlockDeviceName

func GetBlockDeviceName(bootDisk, partitionLabel string) (string, error)

GetBlockDeviceName returns the block device name for the specified boot disk and partition label.

func PartitionOp

func PartitionOp(ctx context.Context, disk string, partitionLabel string, opFunc func() error) error

PartitionOp mounts a partition with the specified label, executes the operation func, and unmounts the partition.

Types

This section is empty.

Jump to

Keyboard shortcuts

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