devicemapper

package
v0.55.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerDMDevice

func DockerDMDevice(driverStatus map[string]string, dmsetup dm.DmsetupClient) (string, uint, uint, uint, error)

DockerDMDevice returns information about the devicemapper device and "partition" if docker is using devicemapper for its storage driver.

func GetDMStats

func GetDMStats(poolName string, dataBlkSize uint) (uint64, uint64, uint64, error)

GetDMStats returns devicemapper thin provisioning stats.

func NewPlugin

func NewPlugin() fs.FsPlugin

NewPlugin creates a new DeviceMapper filesystem plugin.

func ParseDMTable

func ParseDMTable(dmTable string) (uint, uint, uint, error)

parseDMTable parses a single line of `dmsetup table` output and returns the major device, minor device, block size, and an error.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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