Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2012 09:12:58 +0200
From:      Jonathan McKeown <j.mckeown@ru.ac.za>
To:        freebsd-questions@freebsd.org
Subject:   Re: cksum entire dir??
Message-ID:  <201209120912.58165.j.mckeown@ru.ac.za>
In-Reply-To: <50502C51.5020601@FreeBSD.org>
References:  <20120911213804.GA9817@ethic.thought.org> <20120912011443.5df17cf2.freebsd@edvax.de> <50502C51.5020601@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 12 September 2012 08:31:45 Matthew Seaman wrote:
> On 12/09/2012 00:14, Polytropon wrote:
> > 	% cksum <directory>
[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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209120912.58165.j.mckeown>