From owner-freebsd-questions Wed Apr 22 13:52:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20619 for freebsd-questions-outgoing; Wed, 22 Apr 1998 13:52:21 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from horton.iaces.com (horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA20458 for ; Wed, 22 Apr 1998 20:52:01 GMT (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.7/8.8.7) id PAA13085; Wed, 22 Apr 1998 15:51:38 -0500 (CDT) From: "Paul T. Root" Message-Id: <199804222051.PAA13085@horton.iaces.com> Subject: Re: How to make and exact image of an hard disk! To: drifter@stratos.net Date: Wed, 22 Apr 1998 15:51:38 -0500 (CDT) Cc: J.G.E.Backus@urc.tue.nl, questions@FreeBSD.ORG In-Reply-To: <199804221806.OAA26238@stratos.net> from "drifter@stratos.net" at "Apr 22, 98 02:06:19 pm" X-Organization: USWEST !nterprise Networking - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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