mntlockutil

package
v2.1.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcquireSlot

func AcquireSlot(limaMntDir string) (dir string, release func() error, err error)

AcquireSlot acquires a mount slot (currently always "0") under limaMntDir. Returns filepath.Join(limaMntDir, slotID) and a release function that releases the slot.

func PossibleSlotIDs

func PossibleSlotIDs() []string

PossibleSlotIDs returns the possible slot IDs for mount points.

Types

This section is empty.

Jump to

Keyboard shortcuts

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