From owner-p4-projects@FreeBSD.ORG Thu Jun 12 16:35:39 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9BED2106567A; Thu, 12 Jun 2008 16:35:39 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C2F7106564A; Thu, 12 Jun 2008 16:35:39 +0000 (UTC) (envelope-from jamie@gritton.org) Received: from gritton.org (gritton.org [161.58.222.4]) by mx1.freebsd.org (Postfix) with ESMTP id 291398FC12; Thu, 12 Jun 2008 16:35:38 +0000 (UTC) (envelope-from jamie@gritton.org) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by gritton.org (8.13.6.20060614/8.13.6) with ESMTP id m5CGIOxs057590; Thu, 12 Jun 2008 10:18:25 -0600 (MDT) Message-ID: <48514C4B.4070709@gritton.org> Date: Thu, 12 Jun 2008 10:18:19 -0600 From: James Gritton User-Agent: Thunderbird 2.0.0.9 (X11/20080228) MIME-Version: 1.0 To: Julian Elischer References: <200806120757.m5C7vm90085356@repoman.freebsd.org> In-Reply-To: <200806120757.m5C7vm90085356@repoman.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/7427/Tue Jun 10 14:09:35 2008 on gritton.org X-Virus-Status: Clean Cc: Perforce Change Reviews Subject: Re: PERFORCE change 143354 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 16:35:39 -0000 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