On Mon, 24 Dec 2007 20:52:30 +0200, Thanasis wrote:

> mount -o bind / /mnt/src && cd /mnt/src && tar cfp - . |tar xfp -
> -C /mnt/dst && tar cfp - . |tar xfp -
> -C /mnt/dst 

You don't need to mess around with bind mounting /, just do

cd / && tar clfp - ...

For that matter, the f option is redundant, as tar send to stdout by
default.

cd / && tar cp . | tar xp -C /mnt/dst 

Even simpler...

rsync -ax / /mnt/dst/


-- 
Neil Bothwick

Top Oxymorons Number 18: Taped live

Attachment: signature.asc
Description: PGP signature

Reply via email to