From owner-freebsd-questions@FreeBSD.ORG Tue Apr 1 06:33:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9249137B401 for ; Tue, 1 Apr 2003 06:33:57 -0800 (PST) Received: from poecilotheria.netmails.net (netmails.net [12.96.164.138]) by mx1.FreeBSD.org (Postfix) with SMTP id 1225D43F3F for ; Tue, 1 Apr 2003 06:33:57 -0800 (PST) (envelope-from subscr@poecilotheria.netmails.net) Received: (qmail 4565 invoked by uid 1012); 1 Apr 2003 14:32:51 -0000 Date: Tue, 1 Apr 2003 08:32:51 -0600 From: Hari Bhaskaran To: freebsd-questions@freebsd.org Message-ID: <20030401143251.GA4560@poecilotheria.netmails.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: Cloning a jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2003 14:33:57 -0000 Hi, When I need to clone a jail, would a cp -Rp do? (and change rc.conf). Or do I have to go through the jail(8) steps again? (make hierarchy, install etc). By 'clone', I meant an identical jail session, on top of which I will install other packages, not necessarily same on both. Also can I hardlink a tree (outside) to inside the jail? assuming I don't mind it being writeable. Would it open a hole to the rest of the system? Any help is appreciated -- Hari Bhaskaran