From owner-freebsd-questions Tue Oct 10 22:26:49 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA23148 for questions-outgoing; Tue, 10 Oct 1995 22:26:49 -0700 Received: from elysium.clare.tased.edu.au (elysium.clare.tased.edu.au [147.41.130.6]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA23091 for ; Tue, 10 Oct 1995 22:25:35 -0700 Received: (from itemple@localhost) by elysium.clare.tased.edu.au (8.6.12/8.6.6) id QAA01563; Wed, 11 Oct 1995 16:21:11 +1100 Date: Wed, 11 Oct 1995 16:17:20 +1100 (EST) From: Iain Templeton Subject: Re: Hard disk copying To: Julian Elischer cc: questions@freebsd.org In-Reply-To: <199510100600.XAA16870@ref.tfs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Mon, 9 Oct 1995, Julian Elischer wrote: > > What I basically want is to be able to copy one disk, to another > > (obviously), where the disks are on the same SCSI2 controller, and should > > be the same model drive (exact model not known at this time). > if they have the same number of blocks, > then > dd if=/dev/rsd0 of=/dev/rsd1 bs=64k should work.. > > this will mail miserably if the second drive is smaller than the first :) Does this require either or both of the drives to be unmounted. I was just thinking if whilst the copy was occuring if the source drive was written to, would that possibly cause the dest. to be invalid (or I could just mount read only) especially if the write occured before and after the current copy location (if that makes sense). > > ------------------------------------------------------------------------------ > > Iain Templeton, Grade 12 student and administrator of Unix boxes/WWW/News at > > Claremont College, Claremont, Tasmania, Australia. > > ah the land of real chocolate! > In fact, I can see the Cadbury factory out the window (well if I move right a lot and pretend the trees aren't there) -Iain. ------------------------------------------------------------------------------ Iain Templeton, Grade 12 student and administrator of Unix boxes/WWW/News at Claremont College, Claremont, Tasmania, Australia. EMAIL: itemple@clare.tased.edu.au WWW: http://www.clare.tased.edu.au/~itemple/ PGP Public Key available on request (well maybe...) ------------------------------------------------------------------------------ "A Pentium Pro - thats not a P6, thats a P5 and a bit..."