Function sys_metrics::disks::get_partitions_physical[][src]

pub fn get_partitions_physical() -> Result<Vec<Disks>, Error>

Return a Vec of Disks (physical) with their minimal informations.

Contains name, mount_point and total/free space.

On linux it will get them from /proc/mounts.