Subject: dump problem on 1.6.1?
To: None <netbsd-users@netbsd.org>
From: leam <leam@reuel.net>
List: netbsd-users
Date: 05/24/2003 08:07:00
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.
Thoughts?
leam