Crate disk_types
source ·Enums
Describes a file system format, such as ext4 or fat32.
Indicates that a partition is either too small or too large.
Specifies whether the partition table on the disk is MSDOS or GPT.
A possible error when validating the partition table.
Defines whether the partition is a primary, logical, or extended partition.
Used with the
Disk::get_sector
method for converting a more human-readable unit
into the corresponding sector for the given disk.Traits
Methods that all block devices share, whether they are partitions or disks.
Trait to provide methods for interacting with partition-based block device.
Methods for block devices that may have a partition table.
Trait for getting and sectors from a device.
Functions
Executes a given file system’s dump command to obtain the minimum shrink
size