admin@GT-AX11000_Pro:/bin# ubirmvol --help
ubirmvol version 2.0.2 - a tool to remove UBI volumes.
Usage: ubirmvol <UBI device node file name> [-n <volume id>] [--vol_id=<volume id>]
[-N <volume name>] [--name=<volume name>] [-h] [--help]
Example: ubirmvol /dev/ubi0 -n 1 - remove UBI volume 1 from UBI device corresponding
to /dev/ubi0
ubirmvol /dev/ubi0 -N my_vol - remove UBI named "my_vol" from UBI device
corresponding to /dev/ubi0
-n, --vol_id=<volume id> volume ID to remove
-N, --name=<volume name> volume name to remove
-h, -?, --help print help message
-V, --version print program version
admin@GT-AX11000_Pro:/bin# ubimkvol --help
ubimkvol version 2.0.2 - a tool to create UBI volumes.
Usage: ubimkvol <UBI device node file name> [-h] [-a <alignment>] [-n <volume ID>] [-N <name>]
[-s <bytes>] [-S <LEBs>] [-t <static|dynamic>] [-V] [-m] [-k]
[--alignment=<alignment>][--vol_id=<volume ID>] [--name=<name>]
[--size=<bytes>] [--lebs=<LEBs>] [--type=<static|dynamic>] [--help]
[--version] [--maxavsize] [--skipcheck]
Example: ubimkvol /dev/ubi0 -s 20MiB -N config_data - create a 20 Megabytes volume
named "config_data" on UBI device /dev/ubi0.
-a, --alignment=<alignment> volume alignment (default is 1)
-n, --vol_id=<volume ID> UBI volume ID, if not specified, the volume ID
will be assigned automatically
-N, --name=<name> volume name
-s, --size=<bytes> volume size volume size in bytes, kilobytes (KiB)
or megabytes (MiB)
-S, --lebs=<LEBs count> alternative way to give volume size in logical
eraseblocks
-m, --maxavsize set volume size to maximum available size
-t, --type=<static|dynamic> volume type (dynamic, static), default is dynamic
-k, --skipcheck skip the CRC check done at volume open time
-h, -?, --help print help message
-V, --version print program version