addpart Add a partition to a device

Usage is: addpart <device> <partition description>

Adds a partition description to a device. The partition description has the form

size1(name1)[ro],size2(name2)[ro],...

<device> is the device name under. Sizes can be given in decimal or - if prefixed with 0x - in hex. Sizes can have an optional suffix K,M,G. The size of the last partition can be specified as '-' for the remaining space of the device.

Note:
The format is the same as used in the Linux kernel for cmdline mtd partitions.

This command has to be reworked and will probably change it's API.


Generated on Fri Dec 25 14:13:15 2009 for barebox by  doxygen 1.5.6