[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exact copy of HD
---In message <367FC1BD.17BD6902@neomedia.it>
>I have two HD with almost the same partitions and I have to copy the
>contents of the partitions of the first hd to the partition of the other
>What is the best way to obtain the best copy (with hard and soft links)?
I usually use dump and restore to copy filesystems.
mount /dev/whatever-target-device-is /mnt
dump 0f - /source/filesystem | restore rf -
That's it. I just tested it under 2.4 on a SPARC 2.
tar should work, too, but as Mickey pointed out, you have to be very careful
specifying the files in the subdir.