Crate disk_types

Source

Enums§

FileSystem
Describes a file system format, such as ext4 or fat32.
PartitionSizeError
Indicates that a partition is either too small or too large.
PartitionTable
Specifies whether the partition table on the disk is MSDOS or GPT.
PartitionTableError
A possible error when validating the partition table.
PartitionType
Defines whether the partition is a primary, logical, or extended partition.
Sector
Used with the Disk::get_sector method for converting a more human-readable unit into the corresponding sector for the given disk.

Traits§

BlockDeviceExt
Methods that all block devices share, whether they are partitions or disks.
PartitionExt
Trait to provide methods for interacting with partition-based block device.
PartitionTableExt
Methods for block devices that may have a partition table.
SectorExt
Trait for getting and sectors from a device.

Functions§

sectors_used
Executes a given file system’s dump command to obtain the minimum shrink size