On Sun, Nov 11, 2007 at 10:27:52AM +0200, Lars Nood??n wrote: > Douglas A. Tutty wrote: > > > FAQ#10.2. use dump(8) and restore(8). Or tar(1) > > Nope. I've looked at dump and tar, and have looked at the faq. Those > suggestions seem to only work with the contents of the filesystems. > > What I want to do is to take machine A which has a swap partition plus > > /dev/wd0a > /dev/wd0d > /dev/wd0e > /dev/wd0f > > and copy that over to machine B which has a swap partition plus > > /dev/wd0a > /dev/wd0d > > but rather than just copying the files between existing filesystems as > rsync, tar and dump do, I would like to completely overwrite the target > device so that it ends up with the same partitions as the source.
Then what you want to do is outside of any OS so that any hdd tool that can move partitions should do. I don't know those tools on OpenBSD. Presumable dd but I don't know. I've never needed to do it. Doug.

