[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New feature?
From: |
Andrew Clausen |
Subject: |
Re: New feature? |
Date: |
Sun, 29 Aug 2004 11:42:10 +1000 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
On Sat, Aug 28, 2004 at 11:01:55AM +0200, Martin Bammer wrote:
> Hi,
> what about to implement the feature to be able to move partitions within an
> extended partition outside (so it is now a primary partition) and vice versa?
> It is not a really essential feature but sometimes I wished to have it. Is
> this difficult to implement?
I doubt it is too hard... just there are a few special cases where it
is impossible.
eg: suppose you want to eject a logical partition at the start of the
extended partition. You need to able to fit extended-partition-table data
in between your ejected primary partition and your new first logical
partition. This isn't always possible.
But, the low-level parted code should take care of all of the special
cases... implementing it should be easy. Feel free to send me a patch,
or keep reminding me once a month or so. If you write a patch,
I recommend you add a command to the Parted frontend (eg: "inject" and
"eject"?). You shouldn't need to modify libparted.
Cheers,
Andrew