Subject: Re: dump problem on 1.6.1?
To: leam <leam@reuel.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 05/25/2003 18:24:02
On Sat, May 24, 2003 at 08:07:00AM -0400, leam wrote:
> If I use dump to make a copy of the root filesystem, how can critical 
> files like netbsd and ofwboot differ? diff -r says they are different, 
> yet I just newfs'd the filesystem and did the dump.
> 
> The line from the scrip that does this (and works in some other places), is:
>  $DUMP $DUMPARGS - ${RDEV}${PRIDISK}${SLICE} | ( cd /mnt; $RESTORE rvf - )
> 
> Where:
> 	RDEV=/dev/r
> 	DUMP=dump
> 	RESTORE=restore
> 	DUMPARGS="-0f"
> 
> PRIDISK is the primary disk to be dump'd from, and SLICE is the 
> partition. "a" in this case. I'm dumping from sd1 to sd0, so /dev/sd0a 
> is mounted to /mnt, and the line translates to:
> 
> 	dump -0f - /dev/rsd1a | ( cd /mnt; restore rfv - )
> 
> I'm on 1.6.1, and another machine with 1.6R just successfully used the 
> same script.

You're on sparc64, right ? I think a bug in the sparc64 pmap which was
affecting pipes has been fixed after 1.6.1 was released.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--