Skip to main content

Module sys

Module sys 

Available on crate feature linux and (Android or Linux) only.
Expand description

ioctl interface of the UBI driver.

Structsยง

UbiAttachRequest ๐Ÿ”’
struct ubi_attach_req.

Constantsยง

UBI_DEV_NUM_AUTO ๐Ÿ”’
UBI_DEV_NUM_AUTO: lets the kernel pick the UBI device number.
UBI_IOCATT ๐Ÿ”’
UBI_IOCDET ๐Ÿ”’
UBI_IOCVOLUP ๐Ÿ”’

Functionsยง

ubi_attach ๐Ÿ”’
Attaches MTD device mtd to UBI and returns the UBI device number.
ubi_detach ๐Ÿ”’
Detaches UBI device ubi.
ubi_update ๐Ÿ”’
Starts an update of the UBI volume with an image of bytes bytes.