6.x from i386 to amd64

Patrick M. Hausen hausen at punkt.de
Thu Nov 2 19:16:24 UTC 2006


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


More information about the freebsd-stable mailing list