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


Reply via email to