Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2010 00:56:09 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Andreas Nilsson <andrnils@gmail.com>
Cc:        Mark Linimon <linimon@lonesome.com>, freebsd-jail@freebsd.org
Subject:   Re: Emulating different versions of FreeBSD
Message-ID:  <4B7DD399.2050301@quip.cz>
In-Reply-To: <e31a2e1002181129u274a1edeu1d2a1856b3f50c57@mail.gmail.com>
References:  <e31a2e1002180754u20c52ff5xd3e34ccd19ba1d98@mail.gmail.com>	<20100218172634.GA28262@lonesome.com> <e31a2e1002181129u274a1edeu1d2a1856b3f50c57@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Nilsson wrote:
> On Thu, Feb 18, 2010 at 6:26 PM, Mark Linimon<linimon@lonesome.com>  wrote:
>
>> On Thu, Feb 18, 2010 at 04:54:08PM +0100, Andreas Nilsson wrote:
>>> Could the jail architecture be used to run/emulate different versions of
>>> FreeBSD on the same machine?
>>
>> portmgr does that on the package build machines all the time.  AFAIK we
>> don't do anything special to the kernel/userland we run in the jails.
>>
>> Of course, you need to make sure that what's in the jail is no newer than
>> the native kernel/userland.
>>
>> mcl
>>
>
> Ok, that sounds great. Thanks for the swift response. So building for
> example lsof in a 7.1 jail on a 8.0 host will report it being built on
> 7.1-RELEASE-pX?

It may depends on uname output. It can be modified by env. variables 
like UNAME_r etc. (see man uname)

> Does it also work to run a 32-bit jail on a 64-bit host?

It was discussed here few times so you can search the archive. I am not 
sure about the results and I didn't have enough time to test it myself.

Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B7DD399.2050301>