bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hacking parted to work with BSD disklabels ...


From: Andrew Clausen
Subject: Re: Hacking parted to work with BSD disklabels ...
Date: Thu, 26 Oct 2000 17:54:14 +1100

Timshel Knoll wrote:
> > I'm wondering: do we need a separate PedPartitionType?  Why not use
> > PED_PARTITION_EXTENDED?  Then, use the partition flag interface to
> > specifiy BSD or DOS "extended" partitions.
> 
> This is possible - and I had thought about it. The only issue is that
> currently there's no real way of having more than 1 extended partition ...

Yep.
 
> No, a BSD disklabel _must_ go in a primary partition at this stage.

weird.
 
> > In fact, extended partitions (and LVM partitions) are really like
> > nested disk labels, EXCEPT the nested disk label has an Intimate
> > Relationship with parent (!) disk label.  It would be really cool
> > if we could think of a way of nesting disk labels, and making it
> > transparent to the user.
> 
> Yes, this would be a good solution ... currently there is no way of
> properly nesting a disklabel within a partition except by hackign
> the partition code ...

Of course ;-)  But hacking the partition code is the easy bit.
Making a simple (API) interface is the hard bit (and a command line
interface, too)

Implementing extended partitions as nested disk labels is rather
Interesting... I think it will be easier to discuss this on IRC.

Andrew Clausen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]