Date: Tue, 23 Jul 2002 07:34:20 +0200 From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Andreas Koch <koch@eis.cs.tu-bs.de>, freebsd-stable@FreeBSD.ORG Subject: Re: 4.6-RC: Glacial speed of dump backups Message-ID: <20020723053420.GB17187@gits.dyndns.org> In-Reply-To: <200207221943.g6MJhIBX054785@apollo.backplane.com> References: <20020606204948.GA4540@ultra4.eis.cs.tu-bs.de> <20020722081614.E367@gsmx07.alcatel.com.au> <20020722100408.GP26095@ultra4.eis.cs.tu-bs.de> <200207221943.g6MJhIBX054785@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 22, 2002 at 12:43:18PM -0700, Matthew Dillon wrote:
>
> Slightly new patch then the last one I posted (this one allowed you
> to specify a cache size of 0):
usage string updated as well as the old-option hanling (a la tar).
also, the manual page has been updated but I'm sure that a
`native' english speaker will do it better than me :)
diff -u main.c.orig main.c
--- main.c.orig Tue Jul 23 07:29:51 2002
+++ main.c Tue Jul 23 07:20:00 2002
@@ -520,9 +520,9 @@
#ifdef KERBEROS
"k"
#endif
- "nSu] [-B records] [-b blocksize] [-D dumpdates]\n"
- " [-d density] [-f file ] [-h level] [-s feet] "
- "[-T date] filesystem\n"
+ "nSu] [-B records] [-b blocksize] [-C cachesize]\n"
+ " [-D dumpdates] [-d density] [-f file ] [-h level] [-s feet]\n"
+ " [-T date] filesystem\n"
" dump [-W | -w]\n");
exit(X_STARTUP);
}
@@ -638,9 +638,10 @@
switch (*ap) {
case 'B':
case 'b':
+ case 'C':
+ case 'D':
case 'd':
case 'f':
- case 'D':
case 'h':
case 's':
case 'T':
Index: dump.8
===================================================================
RCS file: /home/ncvs/src/sbin/dump/dump.8,v
retrieving revision 1.27.2.13
diff -u -r1.27.2.13 dump.8
--- dump.8 1 Jul 2002 00:35:49 -0000 1.27.2.13
+++ dump.8 23 Jul 2002 05:28:06 -0000
@@ -45,6 +45,7 @@
.Op Fl 0123456789acknSu
.Op Fl B Ar records
.Op Fl b Ar blocksize
+.Op Fl C Ar cachesize
.Op Fl D Ar dumpdates
.Op Fl d Ar density
.Op Fl f Ar file
@@ -131,6 +132,11 @@
The number of kilobytes per output block, except that if it is
larger than 64, the command uses 64. (See the BUGS section.)
The default block size is 10.
+.It Fl C Ar cachesize
+The number of megabytes allocated internally by
+.Nm
+to cache disk blocks.
+The default cache size is 4MB.
.It Fl c
Change the defaults for use with a cartridge tape drive, with a density
of 8000 bpi, and a length of 1700 feet.
Cyrille.
--
Cyrille Lefevre mailto:cyrille.lefevre@laposte.net
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020723053420.GB17187>
