Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 1995 08:11:27 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: Diffs to the dump utility, rewritten with respect to your comments
Message-ID:  <199511130711.IAA24778@uriah.heep.sax.de>
In-Reply-To: <199511122336.KAA27739@godzilla.zeta.org.au> from "Bruce Evans" at Nov 13, 95 10:36:35 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Bruce Evans wrote:
> 
> >Do you know how to check a dump w/o actually restoring to disk and
> >comparing files?  I was thinking of adding an option to restore to
> 
> I refuse to use cpio or dump because of the lack of such a feature.
> I depend on tar's `d' option to check all major backups.

It should actually not be a big problem to add this feature to
restore, provided that the file system in question is actually
mounted.  (Remember, dump does also work on an unmounted file system.)

One should care for two details:

. what's the most effective method to compare two files -- or should
  checksumming be used?

. restore should remember all i-nodes that have already been checked,
  so checking a large file with multiple links has to be done once
  only

-- 
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?199511130711.IAA24778>