device

package
v0.0.0-...-f3d581d Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindRO

func BindRO(from, to string) error

func BindRW

func BindRW(from, to string) error

func IsOpaque

func IsOpaque(p string) (bool, error)

func IsWhiteout

func IsWhiteout(info os.FileInfo) bool

func MountRamdisk

func MountRamdisk(mountPoint, size string) error

func MountSquash

func MountSquash(squashDev, mountPoint string) error

func OverlayRO

func OverlayRO(into string, lowerDirs ...string) error

func OverlayRW

func OverlayRW(into, upperDir, workDir string, lowerDir string) error

func RemoveOpaqueAttr

func RemoveOpaqueAttr(p string) error

func SetSize

func SetSize(mountPoint, size string) error

func Squash

func Squash(src, dst, compressionAlg string) error

func Unmount

func Unmount(mountPoint string) error

func UnmountSquash

func UnmountSquash(mountPoint string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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