From owner-freebsd-isp@FreeBSD.ORG Wed Oct 28 07:33:32 2009 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11DE71065679 for ; Wed, 28 Oct 2009 07:33:32 +0000 (UTC) (envelope-from tonix@interazioni.it) Received: from mx02.interazioni.net (mx02.interazioni.net [80.94.114.204]) by mx1.freebsd.org (Postfix) with ESMTP id 71FA18FC25 for ; Wed, 28 Oct 2009 07:33:31 +0000 (UTC) Received: (qmail 72341 invoked by uid 88); 28 Oct 2009 07:33:22 -0000 Received: from unknown (HELO ?192.168.56.198?) (tonix@interazioni.it@85.18.206.139) by relay.interazioni.net with ESMTPA; 28 Oct 2009 07:33:22 -0000 Message-ID: <4AE7F3C2.4030607@interazioni.it> Date: Wed, 28 Oct 2009 08:33:22 +0100 From: "Tonix (Antonio Nati)" User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-isp@freebsd.org References: <4AE6C7BD.907@interazioni.it> <4AE7232E.2070208@quip.cz> <4AE728F8.7020809@interazioni.it> <4AE73ED9.5000505@quip.cz> In-Reply-To: <4AE73ED9.5000505@quip.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Jails creation X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 07:33:32 -0000 Miroslav Lachman ha scritto: > It is not true. Jail command does not requires compilation, nor > exactly same version. I am running 6.x version jail on system with 7.2 > and you can run 32bit (i386) jail on 64bit (amd64) system. I did not know, and this is very useful to me also. I supposed, as the jail kernel is a "fake" kernel, both systems should have the same version, but if I can mix it's a great opportunity. > The `jail` command is there just for starting the jail, not for > building it. The jail even does not need to be a full installed system! > There are too many different scenarios with jails, that there can not > be "one command to satisfy them all". > It is up to administrator to prepare the best environment for his/her > needs. > > If you need the full copy of the base system, you can do it really > easily (by tar as was suggested by Vincet Hoffman or dump & restore), > and if you do it for each jail, you loose the benefits of shared > read-only base directory (you will need more disk space and more memory). > > If you do not want to spend some time by compilation, you can install > the jail from installation media you already have from system install. > > cd /some/media/7.2-RELEASE/base > mkdir /path/to/myjail > setenv DESTDIR /path/to/myjail > sh install.sh > > That's all! It is too simple in contrast to source build or manually > copy something from base. > Thanks! In this way it is a lot more easier to setup and/or customize. Tonino -- ------------------------------------------------------------ Inter@zioni Interazioni di Antonio Nati http://www.interazioni.it tonix@interazioni.it ------------------------------------------------------------