*BSD News Article 54434


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!EU.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Raw disk copying.
Date: 12 Nov 1995 14:15:37 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 24
Message-ID: <484s1p$jhl@uriah.heep.sax.de>
References: <47m969$h1p@dracula.hybrid.com> <47m9b3$h1p@dracula.hybrid.com>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Kenneth Coley  <coley@hybrid.com> wrote:
> 
>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

The special meaning of the `d' partition went away with FreeBSD
2.0.5's slice paradigm.

Now, simply use

	dd if=/dev/rwd0 of=/dev/rwd1 bs=1m

(NB: **never** use the buffered device [/dev/wd0] for these
operations!)
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)