Skip to main content

Module volume

Module volume 

Structs§

UbiMkvolReq
struct ubi_mkvol_req: a volume to create.
UbiRsvolReq
struct ubi_rsvol_req: a new size for a volume.
UbiVolFlags
Flags of a new volume.
UbiVolType
Type of a volume, the UBI_*_VOLUME constants.

Constants§

UBI_IOCMKVOL
Opcode of ubi_mkvol. The header declares it as a write, but the kernel also writes the volume ID back to userspace.
UBI_IOCRMVOL
Opcode of ubi_rmvol.
UBI_IOCRSVOL
Opcode of ubi_rsvol.
UBI_MAX_VOLUME_NAME
Longest volume name, without the zero byte at the end.
UBI_VOL_NUM_AUTO
Lets the kernel pick the ID of a new volume.

Functions§

ubi_mkvol
UBI_IOCMKVOL: creates a volume on the UBI device of the file, /dev/ubi<n>.
ubi_rmvol
UBI_IOCRMVOL: removes volume vol_id from the UBI device of the file, /dev/ubi<n>.
ubi_rsvol
UBI_IOCRSVOL: resizes a volume of the UBI device of the file, /dev/ubi<n>.