From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 9 14:48:29 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 7B97216A4CE for ; Wed, 9 Feb 2005 14:48:29 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 29D7743D49 for ; Wed, 9 Feb 2005 14:48:19 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 83164 invoked by uid 0); 9 Feb 2005 14:39:51 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.99.7) by mail.freebsd.org.cn with SMTP; 9 Feb 2005 14:39:51 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 4CBC4134DCE; Wed, 9 Feb 2005 22:48:16 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 46681-19; Wed, 9 Feb 2005 22:48:08 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id 2DE40132CE8; Wed, 9 Feb 2005 22:48:08 +0800 (CST) Date: Wed, 9 Feb 2005 22:48:08 +0800 From: Xin LI To: Matt Message-ID: <20050209144808.GA47422@frontfree.net> References: <420A213A.2040503@comcast.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <420A213A.2040503@comcast.net> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #15: Wed Dec 15 10:43:16 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net cc: freebsd-hackers@freebsd.org Subject: Re: deleting jail 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: Wed, 09 Feb 2005 14:48:29 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 09, 2005 at 06:42:02AM -0800, Matt wrote: > I'm trying to remove an old jail I don't use any more. From single user= =20 > mode, I mount the relevant partition and try: >=20 > prompt# rm - rf old_jail You need: rm -fr old_jail chflags -R noschg old_jail rm -fr old_jail Since some files are marked "schg". > I saw a jail_delete utility in an older version of jailutils, but the=20 > newer version I built from ports doesn't have it. Thanks for any help. Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCCiKo/cVsHxFZiIoRAo1JAJ0XWtsR/V5uqiyVONnmhNpzexfptgCcC/DL TFhs/xpfZdC15lXe5HZHlR4= =XRB4 -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA--