All of lore.kernel.org
 help / color / mirror / Atom feed
* Can I get a checksum for a file from btrfs (without reading the whole file)?
@ 2015-02-05 10:40 Lutz Vieweg
  2015-02-06  5:20 ` Qu Wenruo
  0 siblings, 1 reply; 4+ messages in thread
From: Lutz Vieweg @ 2015-02-05 10:40 UTC (permalink / raw)
  To: linux-btrfs

Hi,

use case: You have two huge files on a btrfs, you assume they contain the same bytes,
but you do not know for sure.

Is there a way to get a checksum of both files from btrfs with less effort than
reading the whole of both files and computing a hash sum?

(I was thinking that the btrfs-internal CRCs might be of use, here...)

Regards,

Lutz Vieweg


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-06 18:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-05 10:40 Can I get a checksum for a file from btrfs (without reading the whole file)? Lutz Vieweg
2015-02-06  5:20 ` Qu Wenruo
2015-02-06 13:00   ` Lutz Vieweg
2015-02-06 18:04     ` David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.