PERFORCE change 143354 for review

James Gritton jamie at gritton.org
Thu Jun 12 16:35:39 UTC 2008


Julian Elischer wrote:
> 	Use the real hostname for dumps
> 	it has been suggested that we define a R_hostname to mean Real hostname
>   

Another option, particularly for hostname, is just to leave the 
"hostname" global variable.  Right now both jail and vimage hostnames 
are fixed arrays in their structures, but I'm considering going to 
pointers instead (as a jail may or may not have a virtual hostname).  
Then the "root jail" could just point to the static hostname[] array 
which can continue to exist under its own name.

It could be that hostname is the special case here, as far as having a 
significant number of "global" references.  Load average may have that 
case too, but I'm not sure yet.

- Jamie


More information about the p4-projects mailing list