Jail Duplication and du wierdness

Axel S. Gruner axel.gruner at suedfactoring.de
Wed Apr 30 04:48:40 PDT 2003


Hi.

On Wed, 30 Apr 2003 04:27:11 -0700 (PDT)
iLLfated <l8tr3000 at yahoo.com> 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.



More information about the freebsd-questions mailing list