Function ubi_eber
pub fn ubi_eber<Fd: AsFd>(fd: Fd, lnum: i32) -> Result<(), Errno>Expand description
UBI_IOCEBER: unmaps logical eraseblock lnum of the volume of the
file, /dev/ubi<n>_<m>, and waits until its physical eraseblock is
erased.
Only UbiVolType::DYNAMIC volumes accept it. Always available since
Linux 2.6.29. Older kernels need CONFIG_MTD_UBI_DEBUG_USERSPACE_IO.
ยงErrors
Returns the error of the ioctl. A static volume or a read-only file
returns EROFS.