package overlayutils

import "github.com/dotcloud/docker/daemon/graphdriver/overlayutils"

Index

Functions

func ErrDTypeNotSupported

func ErrDTypeNotSupported(driver, backingFs string) error

ErrDTypeNotSupported denotes that the backing filesystem doesn't support d_type.

func GenerateID

func GenerateID(l int, logger *logrus.Entry) string

GenerateID creates a new random string identifier with the given length

func SupportsOverlay

func SupportsOverlay(d string, checkMultipleLowers bool) error

SupportsOverlay checks if the system supports overlay filesystem by performing an actual overlay mount.

checkMultipleLowers parameter enables check for multiple lowerdirs, which is required for the overlay2 driver.

Source Files

overlayutils.go randomid.go

Version
v20.10.0+incompatible
Published
Dec 7, 2020
Platform
linux/amd64
Imports
14 packages
Last checked
3 seconds ago

Tools for package owners.