Subject: re: Disk copy grumbles
To: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
From: matthew green <mrg@eterna.com.au>
List: port-sparc
Date: 02/03/2002 10:44:25
> mount /dev/rsd1a /mnt
> cd /
> tar cpf - <pattern> | ( cd /mnt; tar xvpf - ) # yes, easier ways to
> do this
And faster, better. tar doesn't care about hardlinks (and other stuff).
I would use dump:
cd /mnt;dump -0f /|restore -xf -
tar *does* care about hard links. i don't know of anything in the
above that dump will handle that (our) tar won't. personally i'd
use "pax -rwvXpe / /mnt"