-$Id: CHANGES,v 1.242 2004/03/01 15:38:10 stelian Exp $
+$Id: CHANGES,v 1.243 2004/03/08 14:04:02 stelian Exp $
Changes between versions 0.4b35 and 0.4b36 (released ?????????????????)
=======================================================================
7. Another try at making size estimates better again.
+8. Put back the inconditional running of the end-of-tape
+ script which was changed in 0.434 to be run only when -M
+ or multiple -f were NOT specified. Some users rely on this
+ feature even when it is combined with -M/-f.
+
Changes between versions 0.4b34 and 0.4b35 (released December 21, 2003)
=======================================================================
#ifndef lint
static const char rcsid[] =
- "$Id: tape.c,v 1.81 2004/03/01 10:52:53 stelian Exp $";
+ "$Id: tape.c,v 1.82 2004/03/08 14:04:04 stelian Exp $";
#endif /* not lint */
#include <config.h>
{
int eot_code = 1;
(void)trewind();
- if (nexttape || Mflag)
- return;
if (eot_script) {
msg("Launching %s\n", eot_script);
eot_code = system_command(eot_script, tape, tapeno);
}
if (eot_code == 0)
return;
+ if (nexttape || Mflag)
+ return;
if (!nogripe) {
msg("Change Volumes: Mount volume #%d\n", tapeno+1);
broadcast("CHANGE DUMP VOLUMES!\7\7\n");
#ifndef lint
static const char rcsid[] =
- "$Id: traverse.c,v 1.57 2004/03/01 15:38:13 stelian Exp $";
+ "$Id: traverse.c,v 1.58 2004/03/08 14:04:04 stelian Exp $";
#endif /* not lint */
#include <config.h>
if (blkest > sizeest)
blkest = sizeest;
#ifdef __linux__
+ if ((dp->di_mode & IFMT) == IFDIR) {
+ /*
+ * for directories, assume only half of space is filled
+ * with entries.
+ */
+ blkest = blkest / 2;
+ sizeest = sizeest / 2;
+ }
if (i_size > (u_quad_t)fs->blocksize * NDADDR) {
/* calculate the number of indirect blocks on the dump tape */
blkest +=