Module rd_util::storage_info
source · Functions§
- Given a device name, find the device number.
- Given a device name, determine its model, firmware version and size.
- Given a device name, determine whether it’s rotational.
- Give a path, determine whether it’s backed by a HDD.
- Is any of the swaps rotational?
- Given a path, find the underlying device.
- Given a path, find out the containing mountpoint.
- Find all devices hosting swap