Package com.io7m.waxmill.machines

# Interface WXMZFSVolumeType

All Known Implementing Classes:
  `WXMZFSVolume`

    @Immutable
    public interface WXMZFSVolumeType

A ZFS volume.

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `default void` | `checkPreconditions()` | Check preconditions for the type.
  `java.nio.file.Path` | `device()` | The device node.
  `java.lang.String` | `name()` | The name of the volume.

- ## Method Details

  - ### name

    java.lang.String name()
    The name of the volume. This is the name that would be, for example, passed to `zfs create -V name/of/volume`.
    Returns:
      The name of the volume

  - ### device

    java.nio.file.Path device()
    The device node. For example, `/dev/zvol/path/to/volume`.
    Returns:
      The device node

  - ### checkPreconditions

    @Check default void checkPreconditions()
    Check preconditions for the type.