Skip to main content

ubi_rsvol

Function ubi_rsvol 

pub fn ubi_rsvol<Fd: AsFd>(fd: Fd, req: &UbiRsvolReq) -> Result<(), Errno>
Expand description

UBI_IOCRSVOL: resizes a volume of the UBI device of the file, /dev/ubi<n>.

Needs CAP_SYS_RESOURCE.

ยงErrors

Returns the error of the ioctl.