From: Stelian Pop Date: Thu, 31 Jan 2002 10:25:55 +0000 (+0000) Subject: Small fix for reading broken Solaris ufsdump tapes. X-Git-Tag: release_0_4b27~5 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=78daec31fcd3deeb9a1fe0129521abc9959a51bb;p=dump.git Small fix for reading broken Solaris ufsdump tapes. --- diff --git a/CHANGES b/CHANGES index 87d4ba7..0af096f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -$Id: CHANGES,v 1.158 2002/01/25 14:59:53 stelian Exp $ +$Id: CHANGES,v 1.159 2002/01/31 10:25:55 stelian Exp $ Changes between versions 0.4b26 and 0.4b27 (released ???????????????) ===================================================================== @@ -29,6 +29,9 @@ Changes between versions 0.4b26 and 0.4b27 (released ???????????????) (the archive file syntax is also compatible with the Solaris ufsdump generated one). +7. Small fix in restore making it able to read some (broken ?) + Solaris ufsdump tapes. + Changes between versions 0.4b25 and 0.4b26 (released January 7, 2002) ===================================================================== diff --git a/restore/tape.c b/restore/tape.c index 3c9085b..94ceab4 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -46,7 +46,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.56 2002/01/25 15:09:00 stelian Exp $"; + "$Id: tape.c,v 1.57 2002/01/31 10:25:55 stelian Exp $"; #endif /* not lint */ #include @@ -367,6 +367,7 @@ setup(void) usedinomap = map; curfile.action = USING; getfile(xtrmap, xtrmapskip); + findinode(&spcl); if (spcl.c_type != TS_BITS) errx(1, "Cannot find file dump list"); map = calloc((unsigned)1, (unsigned)howmany(maxino, NBBY)); @@ -382,6 +383,7 @@ setup(void) */ if (oldinofmt == 0) SETINO(WINO, dumpmap); + findinode(&spcl); } /*