-$Id: CHANGES,v 1.194 2002/09/02 12:20:26 stelian Exp $
+$Id: CHANGES,v 1.195 2002/09/02 12:43:12 stelian Exp $
Changes between versions 0.4b31 and 0.4b32 (released ?????????????)
===================================================================
3. Fixed dump's estimate when dealing with sparse inodes.
+4. Modified dump to allow setting a blocksize bigger than 32kB
+ (raised the limit to 1024kB), because newer hardware needs
+ this for proper operation. Thanks to Dirk Traenapp
+ <dtraenapp@users.sourceforge.net> for reporting this.
+
Changes between versions 0.4b30 and 0.4b31 (released July 30, 2002)
===================================================================
-$Id: THANKS,v 1.66 2002/08/18 20:52:04 stelian Exp $
+$Id: THANKS,v 1.67 2002/09/02 12:44:03 stelian Exp $
Dump and restore were written by the people of the CSRG at the University
of California, Berkeley.
Matti Taskinen mkt@rni.helsinki.fi
Jason L Tibbitts III tibbs@math.uh.edu
Mike Tibor tibor@lib.uaa.alaska.edu
+Dirk Traenapp dtraenapp@users.sourceforge.net
Erik Troan ewt@redhat.com
Theodore Y. Ts'o tytso@valinux.com
Stephen Tweedie sct@dcs.ed.ac.uk
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $Id: dump.8.in,v 1.44 2002/07/24 14:12:00 stelian Exp $
+.\" $Id: dump.8.in,v 1.45 2002/09/02 12:43:12 stelian Exp $
.\"
.TH DUMP 8 "version __VERSION__ of __DATE__" BSD "System management commands"
.SH NAME
to determine whether a file is in the dump file that is being restored.
.TP
.BI \-b " blocksize"
-The number of kilobytes per dump record. Since the IO system slices all
-requests into chunks of
+The number of kilobytes per dump record. The default blocksize is 10
+and the maximal value is 1024.
+Note however that, since the IO system slices all requests into chunks
+of
.B MAXBSIZE
-(typically 64kB), it is not possible to use a larger blocksize without having
-problems later with
-.BR restore (8).
-Therefore
-.B dump
-will constrain writes to
-.B MAXBSIZE.
-The default blocksize is 10.
+(which can be as low as 64kB), you can experience problems with
+.BR dump (8)
+and
+.BR restore (8)
+when using a higher value, depending on your kernel and/or libC versions.
.TP
.BI \-B " records"
The number of 1 kB blocks per volume. Not normally required, as
#ifndef lint
static const char rcsid[] =
- "$Id: main.c,v 1.74 2002/07/19 14:57:39 stelian Exp $";
+ "$Id: main.c,v 1.75 2002/09/02 12:43:12 stelian Exp $";
#endif /* not lint */
#include <config.h>
char *__progname;
#endif
-int maxbsize = 64*1024; /* XXX MAXBSIZE from sys/param.h */
+int maxbsize = 1024*1024; /* XXX MAXBSIZE from sys/param.h */
static long numarg __P((const char *, long, long));
static void obsolete __P((int *, char **[]));
static void usage __P((void));
case 'b': /* blocks per tape write */
ntrec = numarg("number of blocks per write",
- 1L, 1000L);
+ 1L, 1048576L);
if (ntrec > maxbsize/1024) {
msg("Please choose a blocksize <= %dkB\n",
maxbsize/1024);