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

Re: partman-auto limitations on sparc



On Fri, Nov 12, 2004 at 11:05:31AM +0200, Anton Zinoviev wrote:
> On Thu, Nov 11, 2004 at 01:16:29AM -0500, Joey Hess wrote:
> > On sparc, partman-auto can only partition existing free space, it's not
> > capable of repartitioning a whole disk.
> > 
> > So, what's the story behind this, and can it be fixed?
> 
> I reported this as #237410.  It seams like libparted does not rely only
> on its own data structures but also on data that is on the disk.
> Probably thats why libparted can not edit partition tables that do not
> exist on the disk.
> 
> > It makes it hard
> > to do useful preseeded automatic installs, and so it's blocking me from
> > automated sparc install testing.
> 
> What about a script in init.d a script that runs only once and creates a
> new partition table? Ofcource this is for testing only.  The right fix
> is to fix libparted.

Patches are welcome. Preferably from someone with sparc hardware access who
can test it.

Notice that by chosing to not follow the API change path, we somehow cut
ourself from direct upstream help on this one. I think that in retrospect we
would have easily had time to get the API change done, and rebuild the few
packages involved, but again it is too late now. Also, in consideration of
upstreams varying success in the CHS issues, i think it is not all that bad
after all.

Friendly,

Sven Luther



Reply to: