Compilation question 64bit, 32 bit
Alexander Leidinger
Alexander at Leidinger.net
Fri Oct 17 08:44:01 UTC 2008
Quoting Jose Amengual <jose.amengual at gmail.com> (from Thu, 16 Oct 2008
08:43:15 -0300):
> Hi Guys.
>
> The other day I install a server with jails with FreeBSD 7 32 bit in
> a 64 bit capable processor.
>
> After I install I start wondering some things that I point out here :
>
> Any benefit to install 64 bit vs 32 bit with the purpose of use jails ?
It depends. If you want to use more than 4G: yes.
> Can I install a 32 bit FreeBSD and create 64 bit jails ? ( using
> ezjail or downloading the full 64 bit source to create the jail ).
No.
> Can I install 32 bit FreeBSD and then made a make world and change
> it to 64 bit ? ( is recommended ?)
IIRC this depends upon your FreeBSD version. I think in CURRENT
there's code which supports that now. No guarantees.
> Can I install a FreeBSD 64 bit and create 32 bit jails ?
Sort of. You can install a 32bit world into the jail and make sure
32bit support is activated in the kernel. The 32bit programs will then
run just fine in the jail (but 64bit ones should run fine too). It's
the same way as you can run linux programs in a jail.
Bye,
Alexander.
--
If life gives you lemons, make lemonade.
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-jail
mailing list