Subject: Re: NetBSD/ofppc boots multiuser on Pegasos
To: =?ISO-8859-1?Q?Jorge_Acereda_Maci=E1?= <jacereda@gmail.com>
From: Simon Burge <simonb@NetBSD.org>
List: netbsd-ports
Date: 07/28/2006 11:19:31
=?ISO-8859-1?Q?Jorge_Acereda_Maci=E1?= wrote:

> Simon Burge wrote:
> 
> > No ideas offhand.  That's a page size which may or may not mean
> > anything.
> > 
> > I wonder what happens if you do something like:
> > 
> > 	dd if=/netbsd of=/tmp/foo bs=4k count=1 seek=1
> > 
> > do you zeros or real data at 0x1000 in /tmp/foo ?  Still, I'm not
> > sure what that proves either if it works or not...
> > 
> 
> Interesting. I got two identical chunks at 0x0000 and 0x1000 which are 
> in fact the data at 0x0000 in /netbsd.
> 
> Want to hear something really annoying? if I use dd if=/netbsd 
> of=/tmp/foo instead of cp, I get an exact replica.

I think cp uses mmap instead of read, but still uses writes normally?

Maybe try regress/sys/uvm/mmap ?

Simon.