Functions§
- devname_
to_ devnr - Given a device name, find the device number.
- devname_
to_ model_ fwrev_ size - Given a device name, determine its model, firmware version and size.
- is_
devname_ rotational - Given a device name, determine whether it’s rotational.
- is_
path_ rotational - Give a path, determine whether it’s backed by a HDD.
- is_
swap_ rotational - Is any of the swaps rotational?
- path_
to_ devname - Given a path, find the underlying device.
- path_
to_ mountpoint - Given a path, find out the containing mountpoint.
- swap_
devnames - Find all devices hosting swap