[Parted-edge] Real partition ID support

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Fri Feb 23 00:18:40 UTC 2007


> > a. Provide a mechanism for editing a partitions system identifier. From a
> >    user's point of view, this is similar to deleting a partition ('rm') and
> >    then creating (mkpart) it without the file-system with the required
> >    partition ID. The user can be offered a command, say edpart, to do this.

> Sounds reasonable.  Is the editing mechanism only for the partition ID
> or will it also be a synonym for resize or move since "editing" could
> also include partition boundaries since those are technically properties
> of the partition.

Sorry for the confusion. The editing mechanism is only for the
partition IDs, and not as a synonym for resizing or moving.

> My thought is that we shouldn't do that.  We should keep with the
> command set we have now in parted(8) and make sure the new command
> (either edpart or something else) is restricted to editing values except
> the partition boundaries and sizes.

Yes.

> Another thing to think about is GPT and the requirements for IDs there.
> The hal code:
>
>         http://www.freedesktop.org/wiki/Software_2fhal
>
> Is an interesting project that makes use of libparted, but fills in the
> gaps where we don't provide the functionality we need.  Their code that
> uses libparted is decently documented as to what we lack in libparted,
> so it's worth a look.

Ok. I will have a look.

>  The main developer of hal is David Zeuthen, who also works at Red
> Hat and sits a few cubicles away from me.

Great. :-D

Happy hacking,
Debarshi
-- 
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu



More information about the Parted-edge mailing list