Configurable Hostids for Non-Global Zones [PSARC/2008/647 FastTrack timeout 10/30/2008]

Jordan Vaughan Jordan.Vaughan at sun.com
Fri Oct 24 10:32:21 PDT 2008


Hi Brian,

Brian Ruthven - Sun UK wrote:
> 
> Just to clarify: What value is returned by sysinfo(SI_HW_SERIAL) within 
> an NGZ if /bin/hostid is run in the case where emulation is disabled?
> 
> Thanks,
> Brian
> 

If sysinfo(SI_HW_SERIAL) is called within an NGZ that does not emulate a 
hostid, then it will return the system's hostid.  /bin/hostid uses 
gethostid(3C), which uses sysinfo(SI_HW_SERIAL), so it will display the 
system's hostid if executed within an NGZ that does not emulate a hostid.

Regards,
Jordan




More information about the opensolaris-arc mailing list