From owner-freebsd-hackers Sun Nov 12 23:55:29 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA18869 for hackers-outgoing; Sun, 12 Nov 1995 23:55:29 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA18712 for ; Sun, 12 Nov 1995 23:54:51 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA29988 for ; Mon, 13 Nov 1995 08:54:11 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA13410 for freebsd-hackers@freebsd.org; Mon, 13 Nov 1995 08:54:10 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id IAA24778 for freebsd-hackers@freebsd.org; Mon, 13 Nov 1995 08:11:28 +0100 From: J Wunsch Message-Id: <199511130711.IAA24778@uriah.heep.sax.de> Subject: Re: Diffs to the dump utility, rewritten with respect to your comments To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Mon, 13 Nov 1995 08:11:27 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511122336.KAA27739@godzilla.zeta.org.au> from "Bruce Evans" at Nov 13, 95 10:36:35 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 930 Sender: owner-hackers@freebsd.org Precedence: bulk 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. ;-)