On Sat, 08 Apr 2006 06:32:24 +0200 (CEST), Meino Christian Cramer wrote:

>  When I have to copy my current / to another harddisk, which has a
>  different physical layout of partitions and another overall size -- 
>  how would I do this best (conserving as much of the information
>  of the old root as possible)
> 
>  Is cp -a sufficient ?

I always use rsync for this, it preserves directory timestamps, which cp
does not, and can be stopped and restarted if necessary.

rsync -ax(v) /mnt/oldpartition/ /mnt/newpartition/

The trailing slashes matter!


-- 
Neil Bothwick

Use Colgate toothpaste or end up with teeth like a Ferengi.

Attachment: signature.asc
Description: PGP signature

Reply via email to