3.3.1. addpart - add a partition description to a device

3.3.1.1. Usage

addpart [-n] DEVICE PART

3.3.1.2. Options

-n

do not use the device name as prefix of the partition name

3.3.1.3. Description

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.