Subject: Re: sysinst death
To: Simon Burge <simonb@telstra.com.au>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 12/04/1997 16:39:55
>Hmm.  An option at the "choose your installation" menu, have an option
>"d" to read the current disklabel, and then drop into the "partitions
>ok?" menu shouldn't be too hard, but I don't think I'll have a chance
>to do it...  Also, should this menu be called "choose your partition
>layout" or similar?


Sounds good to me.  I was looking at it yesterday.

But the internal data structure used by sysinst is not compatbile with
either struct disklabel or the ascii output from disklabel or
disklabel -R.

 There's no input parser, just the menu-based, er, structure editor :)

You'd need to add code to do an ioctl to get the disklabel, then
translate it into the internal structure used by sysinst.
that much is a very SMOP.

But what to do if there's no label on the disk?