From owner-freebsd-stable@FreeBSD.ORG Thu Nov 2 19:16:24 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8ECC16A4DD for ; Thu, 2 Nov 2006 19:16:24 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8327943E56 for ; Thu, 2 Nov 2006 19:14:12 +0000 (GMT) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [10.0.0.110]) by kagate2.punkt.de with ESMTP id kA2JDvr7011272 for ; Thu, 2 Nov 2006 20:13:57 +0100 (CET) Received: from hugo10.ka.punkt.de (localhost [127.0.0.1]) by hugo10.ka.punkt.de (8.12.10/8.12.10) with ESMTP id kA2JDva9039632; Thu, 2 Nov 2006 20:13:57 +0100 (CET) (envelope-from ry93@hugo10.ka.punkt.de) Received: (from ry93@localhost) by hugo10.ka.punkt.de (8.12.10/8.12.10/Submit) id kA2JDvEH039631; Thu, 2 Nov 2006 20:13:57 +0100 (CET) (envelope-from ry93) Date: Thu, 2 Nov 2006 20:13:57 +0100 From: "Patrick M. Hausen" To: freebsd-stable@freebsd.org, peterjeremy@optushome.com.au Message-ID: <20061102191357.GB39426@hugo10.ka.punkt.de> References: <20061101091958.GD849@turion.vk2pj.dyndns.org> <200611021836.kA2IaFeS010814@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200611021836.kA2IaFeS010814@lurza.secnetix.de> User-Agent: Mutt/1.5.10i Cc: Subject: Re: 6.x from i386 to amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2006 19:16:24 -0000 Hi! > drwxr-xr-x ... lib32 > drwxr-xr-x ... lib64 > lrwxr-xr-x ... lib -> lib${ARCH_BITS} > > ARCH_BITS would be set to "64" globally, and it would be > set to "32" for i386 applications. Then every program > would find the correct libs automagically. > PS: For those who are not familiar with variant symlinks: > http://leaf.dragonflybsd.org/cgi/web-man?command=ln > http://leaf.dragonflybsd.org/cgi/web-man?command=varsym Just for the record: Secure Computing's Sidewinder Firewall running on a BSD/OS with S.C.'s proprietary extensions uses a similar mimic to reference files depending on which "burb" (i.e. zone of trust) a process is running in. Cool to see it in Dragonfly and hopefully FreeBSD. I can imagine interesting setups for HA systems, for example: script -> script${AM_I_ACTIVE_OR_PASSIVE} Regards, Patrick -- punkt.de GmbH Internet - Dienstleistungen - Beratung Vorholzstr. 25 Tel. 0721 9109 -0 Fax: -100 76137 Karlsruhe http://punkt.de