.. index:: addpart (command) .. _command_addpart: addpart - add a partition description to a device ================================================= Usage ^^^^^ ``addpart [-n] DEVICE PART`` Options ^^^^^^^ -n do not use the device name as prefix of the partition name 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. .. generated from: /ptx/work/WORK_EIHEI/sha/backup/barebox/barebox-maintainer-utils/barebox/commands/partition.c .. command function: do_addpart