*BSD News Article 54027


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.EDU.AU!munnari.OZ.AU!spool.mu.edu!pravda.aa.msen.com!simtel!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!inet-nntp-gw-1.us.oracle.com!nntp-hub.barrnet.net!nntp.hybrid.com!usenet
From: Kenneth Coley <coley@hybrid.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Raw disk copying.
Date: 7 Nov 1995 00:30:27 GMT
Organization: Hybrid Networks
Lines: 22
Message-ID: <47m9b3$h1p@dracula.hybrid.com>
References: <47m969$h1p@dracula.hybrid.com>
NNTP-Posting-Host: dax.hybrid.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.2N (Windows; I; 16bit)

 
Riddle me this, Riddle me that,

I thought that the "D" slice of a hard drive is supposed to be the entire 
hard drive.  "C" seems to be the entire freebsd slice.  When I copy a drive
using:

  dd if=/dev/wd0d of=/dev/wd1d bs=1024k

It does not seem to copy the low level drive partition table or the boot 
sectors containing the mbr.  Why is this so?  How can one copy an entire
disk including non-freebsd slices.  We need to be able to master about 1000 
drives with special code on them and we do not want to have to manually load 
freebsd,dos, and oour special code on each one of them.


-- 
Kenneth Coley                           Voice:  408-725-3250 Ext 843
Senior Systems Engineer                 Fax:    408-725-2439
Hybrid Networks, Inc.                   Email:  coley@hybrid.com