Date: Fri, 25 Jul 2003 09:32:59 +1000 (EST) From: Andy Farkas <andyf@speednet.com.au> To: mbaki@whywire.net Cc: freebsd-questions@freebsd.org Subject: Re: dd syntax Message-ID: <20030725093210.P92896-100000@hewey.af.speednet.com.au> In-Reply-To: <200307242141.h6OLfZg4003447@nebula.whywire.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Jul 2003 mbaki@whywire.net wrote: > 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? Yep, thats exactly what you do. Add a 'bs=64k' to the dd command line for better copying efficiency. -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030725093210.P92896-100000>