-$Id: CHANGES,v 1.174 2002/05/06 08:45:41 stelian Exp $
+$Id: CHANGES,v 1.175 2002/05/16 21:22:36 stelian Exp $
Changes between versions 0.4b28 and 0.4b29 (released ??????????????)
====================================================================
which caused restore to fail when the inode maps were not entirely
contained on the first volume (when using really small volumes or
when dumping a huge number of inodes).
+
+3. Fixed a problem in dump, where files in subdirectories of directories
+ that have the nodump flag set (or being excluded with -e/-E) were
+ sometimes incorrectly dumped (instead of being excluded). The original
+ fix is from David C Lawrence <tale@dd.org> in the FreeBSD version
+ of dump: http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32414
+ Thanks to Ted Grzesik <tedgyz@roostme.com> for reporting the bug and
+ help testing the patch.
Changes between versions 0.4b27 and 0.4b28 (released April 12, 2002)
====================================================================
-$Id: THANKS,v 1.57 2002/05/06 08:46:17 stelian Exp $
+$Id: THANKS,v 1.58 2002/05/16 21:22:36 stelian Exp $
Dump and restore were written by the people of the CSRG at the University
of California, Berkeley.
Eirik Fuller eirik@netcom.com
Uwe Gohlke uwe@ugsoft.de
Ian Gordon iangordon@users.sourceforge.net
+Ted Grzesik tedgyz@roostme.com
Andreas Hasenack andreas@conectiva.com.br
Christian Haul haul@informatik.tu-darmstadt.de
Kjetil Torgrim Homme kjetilho@ifi.uio.no
#ifndef lint
static const char rcsid[] =
- "$Id: traverse.c,v 1.45 2002/04/11 09:19:07 stelian Exp $";
+ "$Id: traverse.c,v 1.46 2002/05/16 21:22:36 stelian Exp $";
#endif /* not lint */
#include <config.h>
ip = getino(dp->inode);
if (TSTINO(dp->inode, dumpinomap)) {
CLRINO(dp->inode, dumpinomap);
- CLRINO(dp->inode, usedinomap);
*tapesize -= blockest(ip);
}
- /* Add dir back to the dir map, to propagate nodump */
+ /* Add dir back to the dir map and remove from
+ * usedinomap to propagate nodump */
if ((ip->di_mode & IFMT) == IFDIR) {
SETINO(dp->inode, dumpdirmap);
+ CLRINO(dp->inode, usedinomap);
*ret |= HASSUBDIRS;
}
} else {