pub fn path_to_devname<P: AsRef<Path>>(path: P) -> Result<OsString>
Given a path, find the underlying device.