Function ubi_speb
pub fn ubi_speb<Fd: AsFd>(fd: Fd, pnum: i32) -> Result<(), Errno>
Expand description
UBI_IOCSPEB: scrubs physical eraseblock pnum of the UBI device of
the file, /dev/ubi<n>.
Needs CAP_SYS_RESOURCE. Added in Linux 5.1. Older kernels return
ENOTTY.
ยงErrors
Returns the error of the ioctl. It has the errors of ubi_rpeb.