From owner-freebsd-security Thu Jan 2 1:56:49 2003 Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13E9A37B401 for ; Thu, 2 Jan 2003 01:56:46 -0800 (PST) Received: from hotmail.com (f106.law10.hotmail.com [64.4.15.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id C470C43EC2 for ; Thu, 2 Jan 2003 01:56:45 -0800 (PST) (envelope-from elite_bizkit@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 2 Jan 2003 01:56:02 -0800 Received: from 81.6.253.64 by lw10fd.law10.hotmail.msn.com with HTTP; Thu, 02 Jan 2003 09:56:02 GMT X-Originating-IP: [81.6.253.64] From: "Elite Bizkit" To: nielsen@memberwebs.com Cc: freebsd-security@FreeBSD.org Subject: Re: Removing a Jail Date: Thu, 02 Jan 2003 09:56:02 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 02 Jan 2003 09:56:02.0351 (UTC) FILETIME=[289AB3F0:01C2B245] Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ah I see, "sh MAKEDEV jail" creates a device inside the jail, so if I run "rm -fr /usr/jail" the device will be removed aswell? - BiZKiT >From: "Nielsen" >To: "Elite Bizkit" >, >Subject: Re: Removing a Jail >Date: Thu, 2 Jan 2003 07:49:13 +0000 (GMT) > > > Me again :p Im bulding my Jails using the script in the jail(8) man >pages, > > to resolve the issue of not being able to ping my NIC alias I have >changed > > the IP of the alias and therefore the IP of the jail. Each jail is >in a > > certain folder with its own IP (e.g. /my/jail/10.0.0.1/). First of >all, how > > do I remove current jail? is it as easy as just deleting the folder? > >yes. > > > Secondly in the script (located in jail(8) man pages) it runs "sh >MAKEDEV > > jail", if I run this script again with a different IP will it have >any > > conflicts because "sh MAKEDEV jail" has already been run? > >No. MAKEDEV operates in the current folder. That's in the jail(8) man >pages, you change to the appropriate /dev directory before running 'sh >MAKEDEV jail'. > >Cheers > >Nate _________________________________________________________________ The new MSN 8 is here: Try it free* for 2 months http://join.msn.com/?page=dept/dialup To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message