Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 1997 07:00:01 -0700 (PDT)
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-bugs
Subject:   Re: docs/4785: manual page for dump incorrect
Message-ID:  <199710181400.HAA19173@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/4785; it has been noted by GNATS.

From: j@uriah.heep.sax.de (J Wunsch)
To: dillon@backplane.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: docs/4785: manual page for dump incorrect
Date: Sat, 18 Oct 1997 15:22:58 +0200

 As Matthew Dillon wrote:
 
 > 	It says "last dump of the SAME or lower level".   As best as I can
 > 	determine, dump's actual mechanism is to copy all files new or
 > 	modified since the last dump of a lower level.  Not the same level.
 
 Nope, the same level.  You can repeatedly dump at the same level (!=
 0), and will get just the increments since the last run.
 
 > >How-To-Repeat:
 > 
 > 	dump 0ubf 64 - / > /dev/null
 > 	dd if=/dev/zero of=/xxx bs=32k count=10		(create big file)
 > 	dump 1ubf 64 - / > /dev/null
 > 	dump 1ubf 64 - / > /dev/null
 > 	dump 1ubf 64 - / > /dev/null
 > 	...
 > 
 > 	note that the second and third level 1 dumps are the same size as
 > 	the first level 1 dump.
 
 Usage error.  If you modify it like this:
 
 	dump 0ubf 64 - / > /dev/null
 	dump 1ubf 64 - / > /dev/null
 	dd if=/dev/zero of=/xxx bs=32k count=10		(create big file)
 	dump 1ubf 64 - / > /dev/null
 	dump 1ubf 64 - / > /dev/null
 
 ...the first level 1 dump won't dump anything (since nothing has
 changed since the last level 0 dump), but the second level 1 dump will
 dump the new file.  The third level 1 dump, again, has nothing to dump
 since nothing has changed.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710181400.HAA19173>