3.2. addpart (add a partition description to a device)

3.2.1. Usage

addpart [-n] DEVICE PART

3.2.2. Options

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

3.2.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.

Table Of Contents

Previous topic

3.1. 2048 (the 2048 game)

Next topic

3.3. alternate (count zero bits in a file)

This Page