From owner-freebsd-bugs Sat Oct 18 07:00:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA19196 for bugs-outgoing; Sat, 18 Oct 1997 07:00:05 -0700 (PDT) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA19173; Sat, 18 Oct 1997 07:00:01 -0700 (PDT) (envelope-from gnats) Date: Sat, 18 Oct 1997 07:00:01 -0700 (PDT) Message-Id: <199710181400.HAA19173@hub.freebsd.org> To: freebsd-bugs Cc: From: j@uriah.heep.sax.de (J Wunsch) Subject: Re: docs/4785: manual page for dump incorrect Reply-To: j@uriah.heep.sax.de (J Wunsch) Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)