Peter Memishian wrote:
>  > c. dladm_set_rootdir()
>  > 
>  > What's the signature of dladm_set_rootdir()?
>  > 
>  > "If the API s user needs to change configuration in another away (for 
>  > example, for a Jumpstart server) then the API user should call dladm set 
>  > rootdir to set a new root for the configuration."
>  > 
>  > So after set the new root, does the user need to set it back? After think 
>  > this more, I really think to have an extra function to set altroot adds 
> more 
>  > complexities of the API. It would be more simpler if dladm_write_conf() 
> and 
>  > dladm_remove_conf() to take altroot as an argument (if altroot is NULL, 
>  > means the default rootdir).
> 
> dladm_set_rootdir() is already part of libdladm; see:
> 
>   http://www.opensolaris.org/os/community/arc/caselog/2006/517/mail
> 
I see. But it doesn't answer my question: do we need to set rootdir back to 
default after we are done?

- Cathy

Reply via email to