Subject: Re: Fast Disk Write Code
To: Bruce Martin <BruceM@cat.co.za>
From: I. Souvatzis <ignatios@cs.uni-bonn.de>
List: port-arm32
Date: 03/17/1999 13:00:15
On Wed, Mar 17, 1999 at 12:05:39PM +0100, I. Souvatzis wrote:
> On Tue, Mar 16, 1999 at 05:21:41PM +0200, Bruce Martin wrote:
> > I'm looking for a starting point with block disk writes. I
> > have sd0b with info on, and I have made a 25 meg partition,
> > sd0c, that is empty. As a start, all I want to so is take
> > the first 20 megs on info on sd0b, dump them in RAM (I have
> > 64MB RAM), and then dump the RAM contents to sd0c. Does
> > anybody out there have any code snippets that would do that
> > sort of thing e.g. code that dumps data from RAM to a
> > certain partition?
> 
> Uhm...
> 
> the c partitions has the special meaning of "all disk". You should not use
> it for anything else.

Actually, you didn't mention what machine you are using. On RiscPCs, there
might be a native partition label format, and I don't know if so, whether
NetBSD uses it, and what rules apply to it. (I only have DNARDs).

Can somebody help?

	-is