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

Re: d-i, pulling in fdisk-udeb



On Thu, Oct 02, 2003 at 02:47:37PM +0100, Richard Hirst wrote:
> On Thu, Oct 02, 2003 at 03:37:26PM +0200, Sven Luther wrote:
> > On Thu, Oct 02, 2003 at 01:53:22PM +0100, Richard Hirst wrote:
> > > To fix this issue, I'd need to expose a new flag through the parted i/f,
> > > so you could "set palo on", or similar.  For msdos tables it would know
> > 
> > Adding a flag is almost trivial to do, no ?
> 
> Sure, it was when I added hp_service, anyway.
> 
> > > that meant to set type=f0.  For other partition table types it would
> > > have no effect.  Alternatively I could introduce a new command
> > > completely for setting a partition table 'type' to some user-specified
> > > hex value.  But what would that do for non-msdos tables?  Having an
> > > interface where you can type in 32 byte GUIDs seems silly to me.
> > 
> > Notice that libparted already knows how to do that, but does it only
> > when writing filesystem. There is no way currently to tell libparted to
> > set a given partition type, and use another tool to create the
> > filesystem. I have also been playing with the thought of adding some
> > kind of attribute setting for partitions, which could accept, in
> > addition to boolean flags, also other kind of values (which are needed
> > to set the filesystem block type on amiga partition/filesystems for
> > example, as well as the boot priority).
> 
> Sounds good, parted does need some feature like that, IMHO.

Ok, i will have a look at implementing this once i get the time for it
again.

> > > As to why I havn't done anything about this.. there really hasn't been
> > > any incentive as we have cfdisk on hppa which works fine and has a nice
> > > easy to understand interface.  If d-i ends up dictating that I have to
> > > use parted, or eventually presents a nicer interface to parted than its
> > > current cli one, then it'll be worth worrying about.
> > 
> > Well, libparted is not only used by parted proper, but also by a bunch
> > of other tools in d-i.
> 
> Yes, and having the auto-partitioner understand to create an f0
> partition for hppa, and a small efi boot partition for ia64, etc, would
> be very nice.  I just havn't had chance to look at that yet.

Do you think you will find the time for this nextly, or someone else
should start to look into this ?

Friendly,

Sven Luther



Reply to: