Documentation ¶
Overview ¶
Package mount provides bootloader mount operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PartitionOp ¶
func PartitionOp( disk string, specs []Spec, opFunc func() error, probeOptions []blkid.ProbeOption, newPointOptions []mount.NewPointOption, mountOptions []mount.OperationOption, info *blkid.Info, ) error
PartitionOp mounts specified partitions with the specified label, executes the operation func, and unmounts the partition(s).
Types ¶
type NotFoundTag ¶ added in v1.8.0
type NotFoundTag struct{}
NotFoundTag is a tag for a partition not found/mismatch errors.
Click to show internal directories.
Click to hide internal directories.