*BSD News Article 14157


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!newsserver.jvnc.net!gmd.de!olymp!saph2.physik.uni-bonn.de!juengst
From: juengst@saph2.physik.uni-bonn.de (Henry G. Juengst)
Subject: Re: raw write
Message-ID: <1993Apr7.145913.2466@olymp.informatik.uni-bonn.de>
Lines: 38
Sender: usenet@olymp.informatik.uni-bonn.de
Reply-To: juengst@saph2.physik.uni-bonn.de
Organization: Universit"at Bonn, Informatikinstitut, R"omerstr 154, W-5300 Bonn 1
References: <1993Apr4.165518.23059@wuecl.wustl.edu> <1993Apr4.200701.180@unet.net.com>
Date: Wed, 7 Apr 1993 14:59:13 GMT


In article <1993Apr4.200701.180@unet.net.com>, dsilvia@blunt.net.com (Dave Silvia) writes:
> Newsgroups: comp.os.386bsd.questions
> Path: olymp!gmd.de!Germany.EU.net!news.dfn.de!darwin.sura.net!zaphod.mps.ohio-state.edu!swrinde!network.ucsd.edu!pacbell.com!unet!blunt!dsilvia
> From: dsilvia@blunt.net.com (Dave Silvia)
> Subject: Re: raw write
> In article <1993Apr4.165518.23059@wuecl.wustl.edu> ppc2@cec1.wustl.edu (Peter P Chiu) writes:
> >
> >i would like to create an image file of a disk that could be raw-written to
> >another disk, how could i do that?  is that any program out there that let
> >me create a raw-write file out of a disk?
> > 
> 
> on a unix machine:
> 
> 	dd if=/dev/rfd[0|1]a of=image_of_disk.fs
> 
> reverse 'if=' and 'of=' to make a disk of the file.

You should add   bs=<size_of_one_hole_track>, e.g.

dd if=/dev/rfd0a of=image_of_disk.fs bs=18k

for a 3 1/2" HD disk (or bs=15k for a 5 1/4" HD disk).
That improves the performance significant.

> 
> Dave S.
> 

Henry

--
juengst@boss1.physik.uni-bonn.de [131.220.221.30]  {u}
juengst@saph2.physik.uni-bonn.de [131.220.221.12]  {d}
juengst@pib1.physik.uni-bonn.de  [131.220.221.2]   {s}

I'm only speaking for myself, but not for anybody else !