Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2008 10:18:19 -0600
From:      James Gritton <jamie@gritton.org>
To:        Julian Elischer <julian@freebsd.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 143354 for review
Message-ID:  <48514C4B.4070709@gritton.org>
In-Reply-To: <200806120757.m5C7vm90085356@repoman.freebsd.org>
References:  <200806120757.m5C7vm90085356@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48514C4B.4070709>