[Dirvish] checksum=0 may be causing inaccurate backups!!!

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Fri Jun 22 08:37:54 UTC 2007


Barton C Massey wrote:
> It seems like it can be heavily optimized, is all I was
> thinking.  If a new file is created with the same metadata
> as some old file, you just need to checksum the old and new
> files to see if they're the same?  In other words, the ctime
> should save you here?

I don't think it's to do with new files. If there's an existing file
that appears from the metatda not to have changed, then it has to
compute the checksums and compare them. That is, it has to compute
checksums for almost every file in the archive, twice!

Cheers, Dave


More information about the Dirvish mailing list