]> git.wh0rd.org - dump.git/commitdiff
Small fix for reading broken Solaris ufsdump tapes.
authorStelian Pop <stelian@popies.net>
Thu, 31 Jan 2002 10:25:55 +0000 (10:25 +0000)
committerStelian Pop <stelian@popies.net>
Thu, 31 Jan 2002 10:25:55 +0000 (10:25 +0000)
CHANGES
restore/tape.c

diff --git a/CHANGES b/CHANGES
index 87d4ba719b1083d0fddbc006fe195bd344332070..0af096f4bb334d9f2ed1b678646df9cb9384c837 100644 (file)
--- 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)
 =====================================================================
 
index 3c9085bfece3e55b61c8493e4c63ef815343190a..94ceab46fdfa9a706cac851acb3108936dd05fcf 100644 (file)
@@ -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 <config.h>
@@ -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);
 }
 
 /*