exfacts v0.1.3 ExFacts.Disk

Summary

Functions

ExFacts.Disk.partitions/1 reads the disk information from the host, cleans up the data a bit and returns a list with the info. Depending on the value of all it will return all disks if true, or only physical disks if false

Functions

generate_list(data)
generate_list(data :: list) :: %ExFacts.Disk.PartitionStat{device: term, fs_type: term, mount_point: term, opts: term}
get_file_systems(mtab, all)
get_file_systems(mtab :: list, all :: boolean) :: [String.t]
partitions(all \\ true)
partitions(boolean) :: tuple

ExFacts.Disk.partitions/1 reads the disk information from the host, cleans up the data a bit and returns a list with the info. Depending on the value of all it will return all disks if true, or only physical disks if false.

read_mtab()
read_mtab() :: [[String.t]]