addpart (add a partition description to a device)¶
addpart [-n] DEVICE PART
|-n||do not use the device name as prefix of the partition name|
Create partitions on device DEVICE using the partition description from PART. PART contains a partition description compatible to the Kernel mtd commandline partition description: SIZE1[@OFFSET1](NAME1)[RO],SIZE2[@OFFSET2](NAME2)[RO],... The size and the offset can be given in decimal (without any prefix) and in hex (prefixed with 0x). Both can have an optional suffix K, M or G. The size of the last partition can be specified as ‘-‘ for the remaining space on the device.