[parted-devel] keeping partitions in disk order

Bart Hakvoort bart at hakvoort.be
Sat Aug 26 09:13:48 UTC 2006


Hi ppl,

I get some requests for this functionality on a regular base. It would be
nice to gain some insight in what's actually required to implement this.

thanks!

Bart

> Andrew Gaffney wrote:
>> With libparted, is there a way to preserve disk order on the partition
>> numbers? For example, if you have 1, 2, and 3, remove partition 2, and
>> then create 2 partitions in its place, the disk order would now be 1, 2,
>> 4, 3.
>>
>> I've been using pyparted in the Gentoo installer for partitioning. I've
>> had to resort to removing all partitions, and then recreating them in
>> the same places along with the modifications to preserve disk order. But
>> this has its own issues. So, I'd like a way to preserve disk order
>> without touching partitions that don't need to be touched.
>>
>> If this feature doesn't already exist, what would it take to implement
>> it?
>
> Anyone? I'm not the only one wanting to know about this.
>
> --
> Andrew Gaffney                            http://dev.gentoo.org/~agaffney/
> Gentoo Linux Developer                                   Installer Project
>
> _______________________________________________
> parted-devel mailing list
> parted-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/parted-devel
>


-- 
--- plors




More information about the parted-devel mailing list