Expand description
Drives
is a library to get information about mountable/mounted drives
on a Linux system.
Uses /sys/block
to retreive information.
Structs§
- Device
- A block device
- Mount
- Informations about the mount point of a drives patition
- Partition
- partition of a device
- Size
- A representation of a size information
Enums§
- Drives
Error - GptUUID
- Enumeration for holding the gpt UUID or a reason why it is not available
- Unit
- supported units for conversion and display
Functions§
- get_
devices - Reads /sys/block and its sub-directories to determine and return drives as a list of devices with partitions