From owner-freebsd-questions@FreeBSD.ORG Wed Apr 30 04:48:40 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 120A437B401 for ; Wed, 30 Apr 2003 04:48:40 -0700 (PDT) Received: from sffwd0.suedfactoring.de (port-212-202-224-251.reverse.qsc.de [212.202.224.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2844D43FA3 for ; Wed, 30 Apr 2003 04:48:38 -0700 (PDT) (envelope-from axel.gruner@suedfactoring.de) Received: from pcs28.suedfactoring.de (pcs28.SUEDFAC.COM [10.2.1.228]) SMTP id h3UBJRaU002917; Wed, 30 Apr 2003 13:19:28 +0200 Date: Wed, 30 Apr 2003 13:49:36 +0200 From: "Axel S. Gruner" To: iLLfated Message-Id: <20030430134936.080d2cc8.axel.gruner@suedfactoring.de> In-Reply-To: <20030430112711.30774.qmail@web14512.mail.yahoo.com> References: <20030430112711.30774.qmail@web14512.mail.yahoo.com> Organization: =?ISO-8859-1?Q?S=FCdFactoring?= GmbH X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Jail Duplication and du wierdness 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: Wed, 30 Apr 2003 11:48:40 -0000 Hi. On Wed, 30 Apr 2003 04:27:11 -0700 (PDT) iLLfated wrote: > Lo all, > > I wanted to ask if I cp -R or cp -Rp a jail to a new > path will it work as expected? I tried to copy one > just recently with both commands, and the resulting > path seems to report a different du -h size. I > compared the 2 trees and even diffed the files in the > trees and they seem to be the same, although du is > still reporting them as different. Any ideas whats > going wrong here? Use "cpdup" (it is in the ports) to copy jails. It will make a 1:1 copy of your jail.