Subject: Re: Cloning an Amiga harddrive ?
To: None <port-amiga@netbsd.org>
From: Gunther Nikl <gni@gecko.de>
List: port-amiga
Date: 01/06/2003 16:30:19
On Sun, Dec 22, 2002 at 12:13:09PM +0100, Bernd Sieker wrote:
> dump/restore is no problem at all. It is prefereable to tar, since it
> handles hard links, which tar cannot.

  I always thought tar handles any kind of links... However, I use pax
  to copy data around.

> e. g. (assuming sd1a and sd1e are the new / and /usr filesystems,
> respectively, and are already newfs'd.)
> 
> # mount -o async /dev/sd1a /mnt
> # mount -o async /dev/sd1e /mnt/usr
> # cd /mnt
> # dump -0 -f - / | restore -rf -
> # cd /mnt/usr
> # dump -o -f - /usr | restore -rf -
> # umount /mnt/usr
> # umount /mnt

  Would it be better to use a miniroot (if it has dump/restore, it has pax :)
  to do the cloning because then all fs are inactive?

  Gunther

-- 
Linux is only free if your time has no value
 - Jamie Zawinsky