[−][src]Function rsys::linux::stat_block_device
pub fn stat_block_device(name: &str) -> Result<StorageDevice>
Parses a StorageDevice object from system. If the provided name
doesn't start with sd
returns an error.
pub fn stat_block_device(name: &str) -> Result<StorageDevice>
Parses a StorageDevice object from system. If the provided name
doesn't start with sd
returns an error.