Larry Dickson wrote:
We have considerable experience getting parted to work. Basically, the distinction between primary and extended partitions is not needed, nor are partition types. There are other subtle differences too. Very annoyingly,
Correct.
SOME versions of parted interpret megabytes and even kilobytes (but not
Older versions, right?
sectors) as decimal only. For these you have to use unit B (bytes) to regain control. Experiment a little, to see what uses counting from 1 or counting from 0, and what uses last-index or total-size, as these off-by-1 errors can be killer.
If you find problems like this with recent versions then please let us know via the parted mailing lists:
http://www.gnu.org/software/parted/lists.shtmlIroning out the UI inconsistencies in parted is one of the areas that we are keen to improve at the moment so if you hit issues like this, we would very much like to hear about them.
Regards, Bryn.