On Sat, Aug 24, 2013 at 12:09 PM, Thomas Koch <[email protected]> wrote:
> - check whether two files share the same data on disk, i.e. one has been
> created by cp --reflink of the other?

How about inspecting the output of filefrag -v $filename?
For example, you could filter out with grep all lines except the ones
that contain information about the extents.
Then you could hash the lines left and use that single hash to compare
the two files.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to