Module storage_info

Module storage_info 

Source

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