# Functions
Find disk matching provided spec.
Get gathers disk information from sys block.
List returns list of disks by reading /sys/block.
Match checks if the disk matches the spec.
ParseType converts string id to the disk type id.
WithBusPath select disk by it's full path.
WithModalias select disk with modalias.
WithModel select disk with model.
WithName select disk with name.
WithSerial select disk with serial.
WithType select disk with type.
WithUUID select disk with UUID.
WithWWID select disk with WWID.
# Constants
TypeHDD HDD disk.
TypeNVMe NVMe disk.
TypeSD SD card.
TypeSSD SATA SSD disk.
TypeUnknown is set when couldn't detect the disk type.