Skip to main content

dev_from_path

Function dev_from_path 

Source
fn dev_from_path(path: &Path) -> Result<(dev_t, dev_t)>
Expand description

Get the (major, minor) of the block device on which Path is mounted.