From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 20:36:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A25C1065676 for ; Wed, 12 Sep 2012 20:36:27 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa01-09.prod.phx3.secureserver.net (p3plsmtpa01-09.prod.phx3.secureserver.net [72.167.82.89]) by mx1.freebsd.org (Postfix) with SMTP id 5BBFC8FC0A for ; Wed, 12 Sep 2012 20:36:27 +0000 (UTC) Received: (qmail 19527 invoked from network); 12 Sep 2012 20:29:47 -0000 Received: from unknown (209.180.213.209) by p3plsmtpa01-09.prod.phx3.secureserver.net (72.167.82.89) with ESMTP; 12 Sep 2012 20:29:46 -0000 Date: Wed, 12 Sep 2012 13:29:45 -0700 From: Gary Kline To: Jonathan McKeown Message-ID: <20120912202945.GC17551@ethic.thought.org> References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> <201209120912.58165.j.mckeown@ru.ac.za> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201209120912.58165.j.mckeown@ru.ac.za> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: cksum entire dir?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2012 20:36:27 -0000 On Wed, Sep 12, 2012 at 09:12:58AM +0200, Jonathan McKeown wrote: > On Wednesday 12 September 2012 08:31:45 Matthew Seaman wrote: > > On 12/09/2012 00:14, Polytropon wrote: > > > % cksum > [snip] > > > > That will give you a checksum on the directory inode -- file names and > > associated metadata only, not file content. > [snip] > > Generally I find the best test for differences between old and new > > copies of a filesystem is 'rsync -avx -n ...' > > Wouldn't suitable applications of mtree(8) also do what's wanted? > > Jonathan > _______________________________________________ how, with mtree, could I tell whether dir1 == dir2 or not? gary > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"