From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 18 13:15:23 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6E7E16A502 for ; Mon, 18 Apr 2005 13:15:23 +0000 (GMT) Received: from post-22.mail.nl.demon.net (post-22.mail.nl.demon.net [194.159.73.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54B6D43D2F for ; Mon, 18 Apr 2005 13:15:23 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:10035 helo=mail.aseed.antenna.nl) by post-22.mail.nl.demon.net with esmtp (Exim 4.43) id 1DNW5y-000LPd-B5 for freebsd-hackers@freebsd.org; Mon, 18 Apr 2005 13:15:22 +0000 Received: from http.aseed.antenna.nl (unknown [192.168.0.50]) by mail.aseed.antenna.nl (Postfix) with ESMTP id A787328400B for ; Mon, 18 Apr 2005 15:16:41 +0200 (CEST) Received: from localhost.localdomain (217-19-30-147.dsl.cambrium.nl [217.19.30.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.antenna.nl (Postfix) with ESMTP id 3B9C258CB65 for ; Mon, 18 Apr 2005 15:15:22 +0200 (CEST) Date: Mon, 18 Apr 2005 15:15:20 +0200 From: "albi@scii.nl" To: freebsd-hackers@freebsd.org Message-Id: <20050418151520.37329f12.albi@scii.nl> In-Reply-To: <20050418085137.U49866@eleanor.us1.wmi.uvac.net> References: <42628196.4070608@comcast.net> <42628E25.8010008@gmail.com> <20050418085137.U49866@eleanor.us1.wmi.uvac.net> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Making multiple jails X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2005 13:15:24 -0000 On Mon, 18 Apr 2005 08:58:54 -0400 (EDT) c0ldbyte wrote: > I believe he is asking if it is possible to create them at the same > time not really run them at the same time. But that is good > information for him to know as well anyhow. But the only way to go > about that is to do the (make world DESTDIR=/path/to/jail#) for each > jail that you need. Now after the first initial build of world, if you > didnt do a (make clean) then you should beable to just (make > installworld DESTDIR=/path/to/jail#) and the new jail will apear there > with the specified parameters that you fed DESTDIR. the only way ? i thought UNIX-alikes were known for having always more than one way ;-) another option is to use cpdup to duplicate a fresh jail also quite interesting imho is this : http://www.the-labs.com/FreeBSD/JailTools/fbsd_jails.html this webmin-module offers "light-jails", read-only /usr mount, and also jails installed in a single file if you have that file you can easily reproduce new jails with a simple cp-command