On Fri, 2007-06-08 at 17:48 +0200, Alan McKinnon wrote:
> What the OP *will* have a problem with a copying /proc, /dev, /sys
> and 
> other virtual filesystems. When I do this trick, I usually dd or tar
> or 
> cp -a entire filesystems and then copy / with this trick:
> 
> mount -o bind / /some/tmp/dir
> cp -a /some/tmp/dir /some/other/dir
> 
> This ensures that only files actually on-disk are copied 

You could also pass, '-x' to cp and rsync or '--one-file-system' to tar.
 
--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list

Reply via email to