Re: Copying disk partitions

2005-11-22 Thread Otto Moerbeek
On Mon, 21 Nov 2005, Nick Holland wrote: PS I also don't understand why the first 16*512 bytes are skipped when using dd? I was really hoping someone else would answer this, I'm not completely sure about my answer...I think that's where the PBR and the disklabel hides. Actually, I

Copying disk partitions

2005-11-21 Thread Peter Fraser
/etc/daily uses the following code sync echo echo Backing up root filesystem: echo copying /dev/r$rootdev to /dev/r$rootbak dd if=/dev/r$rootdev of=/dev/r$rootbak bs=16b seek=1 skip=1 \ conv=noerror fsck -y /dev/r$rootbak where as http://www.openbsd.org/faq/faq10.html#DupFS says to use

Re: Copying disk partitions

2005-11-21 Thread Nick Holland
Peter Fraser wrote: /etc/daily uses the following code sync echo echo Backing up root filesystem: echo copying /dev/r$rootdev to /dev/r$rootbak dd if=/dev/r$rootdev of=/dev/r$rootbak bs=16b seek=1 skip=1 \ conv=noerror fsck -y /dev/r$rootbak where as