From: Stelian Pop Date: Fri, 16 Feb 2001 10:40:47 +0000 (+0000) Subject: Made dump report the number of blocks dumped per volume. X-Git-Tag: release_0_4b22~37 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fa7fb4174752ee1b573c537624d531a8ddddcdd9;p=dump.git Made dump report the number of blocks dumped per volume. --- diff --git a/CHANGES b/CHANGES index be07c70..f603aca 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,10 @@ -$Id: CHANGES,v 1.100 2001/01/13 18:50:35 stelian Exp $ +$Id: CHANGES,v 1.101 2001/02/16 10:40:47 stelian Exp $ + +Changes between versions 0.4b21 and 0.4b22 (released ????????????????) +====================================================================== + +1. Let dump report the number of blocks dumped per volume. + Thanks to Kenneth Porter for the suggestion. Changes between versions 0.4b20 and 0.4b21 (released January 13, 2001) ====================================================================== diff --git a/dump/tape.c b/dump/tape.c index b0eed5b..a210ebb 100644 --- a/dump/tape.c +++ b/dump/tape.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.28 2000/12/21 15:01:54 stelian Exp $"; + "$Id: tape.c,v 1.29 2001/02/16 10:40:48 stelian Exp $"; #endif /* not lint */ #include @@ -289,6 +289,8 @@ do_stats(void) #else ctime(&tnow)); #endif + msg("Volume %d: %ld tape blocks (%.2fMB)\n", tapeno, + blocks, ((double)blocks * TP_BSIZE / 1048576)); if (ttaken > 0) { msg("Volume %d took %d:%02d:%02d\n", tapeno, ttaken / 3600, (ttaken % 3600) / 60, ttaken % 60);