Subject: is dump broken?
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Christos Zoulas <christos@deshaw.com>
List: current-users
Date: 12/20/1993 11:34:17
I just finished recompiling everything with the most current sources,
but now dump seems to be broken:
dump 0dsf 100000 10000 - /dev/rsd0a | gzip > ! /tmp/dump
DUMP: Date of this level 0 dump: Mon Dec 20 11:30:28 1993
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rsd0a (/) to standard output
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 6094 tape blocks. <=
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: DUMP: 35 tape blocks <= ???
DUMP: DUMP IS DONE
And the file is almost empty...
Any ideas?
FYI dumptraverse.c still has the bug I reported eons ago. Here is the fix
again:
*** dumptraverse.c.orig Thu Dec 2 06:51:07 1993
--- dumptraverse.c Mon Dec 20 11:16:30 1993
***************
*** 219,225 ****
blkno = idblk[i];
if (blkno != 0)
ret |= searchdir(ino, blkno, sblock->fs_bsize,
! filesize);
if (ret & HASDUMPEDFILE)
*filesize = 0;
else
--- 219,225 ----
blkno = idblk[i];
if (blkno != 0)
ret |= searchdir(ino, blkno, sblock->fs_bsize,
! *filesize);
if (ret & HASDUMPEDFILE)
*filesize = 0;
else
------------------------------------------------------------------------------