dd syntax

mbaki at whywire.net mbaki at whywire.net
Thu Jul 24 14:59:13 PDT 2003


Hi all,

I have a freebsd 5.1 machine with 2 harddrives ad0 and ad2. I need to duplicate ad2 to a 3rd 
hardrive so what I did is the following:

dd if=/dev/ad2 of=freebsd5.1.bin


Now when I'm done dd'ing, I can replace ad2 with the harddrive and issue the command
dd if=freebsd5.1.bin of=/dev/ad2

Both harddrives are exactly the same, so hopefully the following steps should work, correct?


Thank you


More information about the freebsd-questions mailing list