Date: Thu, 2 Nov 2006 20:13:57 +0100 From: "Patrick M. Hausen" <hausen@punkt.de> To: freebsd-stable@freebsd.org, peterjeremy@optushome.com.au Subject: Re: 6.x from i386 to amd64 Message-ID: <20061102191357.GB39426@hugo10.ka.punkt.de> In-Reply-To: <200611021836.kA2IaFeS010814@lurza.secnetix.de> References: <20061101091958.GD849@turion.vk2pj.dyndns.org> <200611021836.kA2IaFeS010814@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061102191357.GB39426>