Getting access to checksums.

Damien Fleuriot ml at my.gd
Fri Jun 10 13:44:27 UTC 2011



On 9 Jun 2011, at 21:15, Dan Carroll <fbsd at dannysplace.net> wrote:

> I'm currently working on a system that monitors file changes.
> I'd like to calculate the checksums on each file both to see if a change has occured as well as looking for duplicate files.
> 
> I'm not sure what algorithm I'll end up using but I was wondering if it was possible to get access to ZFS' checksumming?
> Does it happen on a file level or is it block level only?  And if it does, is there an easy way to obtain this information from the system?
> 
> -D
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"



You will want to look into mtree's man page.
Does exactly what you wanna do :)


More information about the freebsd-fs mailing list