On 02/10/11 06:58 AM, Dermot McCluskey wrote:
All (especially Dave and Sanjay),
One piece of functionality the TargetController class I am writing
will provide is to allow an initial disk (or disks) to be selected for
the install. In the interactive installers, this will be the disk initially
highlighted; in AI it will be the disk(s) selected if nothing is
specified in the manifest.
However, I am not sure of exactly what criteria to use. So, my
questions are:
- is there one set of criteria that will be suitable for all install
clients?
I think it's desirable to explore a default behavior that's common
across the installers, as predictability and consistency are important
attributes of usability. The interactive installers do default their
selection, and AI does as well, but right now I do not believe they are
aligned.
- what are those criteria? It seems to be some combination of:
- 1st discovered disk with a Solaris2 partition
- 1st discovered disk with the "boot_disk" keyword
- 1st discovered disk that is big enough
- 1st discovered disk that is physically internal to the machine
(using WWIDs)
- 1st discovered disk
- etc
Can you give some guidance on this?
I think you've identified most of them, to me it seems to be an AND'ed
predicate of most of the above, where we remove criteria in a defined
order until we arrive at a solution. This is essentially a sat solver
used in much the same way as pkg uses one to determine an installation
solution.
Dave
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss