Struct devicemapper::LinearDev [] [src]

pub struct LinearDev { /* fields omitted */ }

A DM construct of combined Segments

Methods

impl LinearDev
[src]

Use DM to concatenate a list of segments together into a linear block device of continuous sectors.

Construct a new block device by concatenating the given segments into linear space. Use DM to reserve enough space for the stratis metadata on each DmDev. TODO: If the linear device already exists, verify that the kernel's model matches the segments argument.

Return a reference to the segments that back this linear device.

Extend an existing LinearDev with additional new segments.

DM name - from the DeviceInfo struct

Set the name for this LinearDev.

Get the "x:y" device string for this LinearDev

return the total size of the linear device

path of the device node

Remove the device from DM

Trait Implementations

impl Debug for LinearDev
[src]

Formats the value using the given formatter.