Skip to main content

device_info

Function device_info 

Source
pub fn device_info(fd: BorrowedFd<'_>, devid: u64) -> Result<Option<DevInfo>>
Expand description

Query information about the device with the given devid on the filesystem referred to by fd.

Returns None if no device with that ID exists (ENODEV).