From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 07:13:02 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 59676106566B for ; Wed, 12 Sep 2012 07:13:02 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from mail.ru.ac.za (mail.ru.ac.za [IPv6:2001:4200:1010:0:250:56ff:fe8d:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA338FC17 for ; Wed, 12 Sep 2012 07:13:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ru.ac.za; s=ru-msa; h=X-Authenticated-User:Message-Id:Content-Type:MIME-Version:Date:Subject:To:From; bh=DyAzwleFOtz29aRAxaOw+nRtwAv2zykgO4Zr/k/6N18=; b=gIyKK7en9C0vUI6Jx3PVV6T0uDEja53QpP8VMEOVDbIU1SM52s7sMn1Yy0GsNrBfJIQjl4xmzmp+9L7EN67WlipCmBkTSJKDYfedr8gTaf7uSF62SzspuFLrPf0jyPfC; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:59185) by mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1TBh86-000K3v-Ev for freebsd-questions@freebsd.org; Wed, 12 Sep 2012 09:12:58 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Wed, 12 Sep 2012 09:12:58 +0200 User-Agent: KMail/1.9.10 References: <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org> In-Reply-To: <50502C51.5020601@FreeBSD.org> X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: mail.ru.ac.za (2001:4200:1010:0:250:56ff:fe8d:5) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext 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 07:13:02 -0000 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