Sarah Jelinek wrote:
...
>>>>>    - CLI tools fdisk and and Format can't be used from GUI. Why these 
>>>>> CLI tools are mentioned here?
>>>>>         
>>>> I have meant that TI would use these CLI for creating appropriate 
>>>> label/partition table on disks. If I have understood your assertion
>>>> correctly, is that mean that if TI is implemented as shared library 
>>>> utilized indirectly by GUI via orchestrator, it is not possible
>>>> to consume these CLI by TI library ?
>>>>       
>>> Both fdisk and format are interactive tools. If you call those tools in 
>>> your install, it will bring up shell to run those tools. It may not 
>>> conform to the slim GUI and users won't like it.
>>>     
>> I have been considering to use format&fdisk in non-interactive mode in
>> similar way, how spmi libraries utilize these interfaces. In 
>> non-interactive mode,
>> they both take as parameter file describing what tasks are supposed to 
>> be carried out
>> and thus no user input is required ("fdisk -F" for creating partition 
>> table, "format -f").
>> Please let me know, if this approach might work for our purposes.
>>
>>   
> This brings up a point about a bug we currently have in Dwarf... so, I 
> am wondering when is it planned to putback the TI changes in to the 
> install gate? If TI does a better job of target instantiation with 
> regard to fdisk than pfinstall, it would be better to use this and not 
> use the private interfaces in pfinstall for the Dwarf(SXDE) fixes. Also, 
> this brings up the point about the ti_target_create() function... this 
> is only creating zpools. But, what about the interfaces to create the 
> fdisk partition data? That would be good api's to have exposed.
> 

This doesn't strike me as a particularly fruitful approach - it seems 
like we'd have to spend a lot of effort reworking either the 
orchestrator or pfinstall to deal with TI coming into the mix, and I 
don't see the benefit of doing so.  I realize we have some bugs and 
limitations with Dwarf, but I think the answer is to have those people 
using a distro that installs with Slim, not trying to "backport" pieces 
of it into Nevada.

Dave

Reply via email to