mount

package
v0.0.0-...-baf486e Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(dev string, path string, fsType string, options []string) error

Mount extends u-root/pkg/mount to setup loop devices and parse input options into data and flags

func Overlay

func Overlay(lower string, upper string, work string, dest string) error

Overlay prepares and mounts a R/W overlay on the dest path. Expects lower to already be mounted. Create's dest, upper, and work directories. Upper and work is required to be paths within the same filesystem.

func Unmount

func Unmount(path string, force, lazy bool) error

Unmount is a wrapper around u-root unmount for convenience

Types

This section is empty.

Jump to

Keyboard shortcuts

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