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).