Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 15:51:38 -0500 (CDT)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        drifter@stratos.net
Cc:        J.G.E.Backus@urc.tue.nl, questions@FreeBSD.ORG
Subject:   Re: How to make and exact image of an hard disk!
Message-ID:  <199804222051.PAA13085@horton.iaces.com>
In-Reply-To: <199804221806.OAA26238@stratos.net> from "drifter@stratos.net" at "Apr 22, 98 02:06:19 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, drifter@stratos.net said:
> Wed. 22, APR 1998: Jos Backus wrote...
> 
> >On Wed, Apr 22, 1998 at 01:44:13AM -0700, boma toma wrote:
> >> Is it possible to make and exact image ( each  byte by byte  and
> >> sector by sector )  on another hard disk, e-g secotr 1 of the master
> >> disk  should be exactly copied on the sector 1 of the slave disk ?
> >> Both Hard disks are on same machine!
> >
> >If the disks are exactly identical geometry/size-wise and have the same amount
> >of disk blocks, this can be a simple as
> >
> >	# dd if=/dev/rwd0c of=/dev/rwd1c
> 
> 	Doesn't:
> 	# cat /dev/rwd0c > /dev/rwd1c
> 
> 	work as well? Or is that asking for trouble?

Hmm. I don't think so. But I can't say why.

You could also do 

cd <mounted dir of /dev/rwd1c>
dump 0f /dev/rwd0c |restore -rf -



-- 
"Whom God would destroy, He first makes mad."

   In his _Life of Samuel Johnson_ (1791), Boswell refers to
   this oft-quoted line as one that everybody repeats but nobody
   knows where to find. Found in the works of Publilius Syrus
   (1st century B.C.), Dryden (1697) and Longfellow (1875), it
   is first recorded in a fragment from Euripides in the fifth
   century B.C.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804222051.PAA13085>