Function ubi_rmvol
pub fn ubi_rmvol<Fd: AsFd>(fd: Fd, vol_id: i32) -> Result<(), Errno>Expand description
UBI_IOCRMVOL: removes volume vol_id from the UBI device of the file,
/dev/ubi<n>.
Needs CAP_SYS_RESOURCE.
ยงErrors
Returns the error of the ioctl. A volume that is open returns EBUSY.