Function ubi_ebismap
pub fn ubi_ebismap<Fd: AsFd>(fd: Fd, lnum: i32) -> Result<bool, Errno>Expand description
UBI_IOCEBISMAP: returns whether logical eraseblock lnum of the
volume of the file, /dev/ubi<n>_<m>, is mapped.
Added in Linux 2.6.29.
ยงErrors
Returns the error of the ioctl. A volume that is being updated returns
EBADF.