Function devicemapper::devnode_to_devno [] [src]

pub fn devnode_to_devno(path: &Path) -> DmResult<Option<u64>>

Get a device number from a device node. Return None if the device is not a block device; devicemapper is not interested in other sorts of devices. Return None if the device appears not to exist.