In the same vein, I've also made
https://github.com/pwaller/sharedextents - which exits with status 0
when there are shared extents, and 1 otherwise; it also prints the
number and percentage of shared bytes.
Here it is running on the file and its reflink copy from "A BTRFS
mystery" in the previous
Hi All,
I just released a toy program, "fienode" which computes a SHA1 of the
physical extents of a file.
Link: https://github.com/pwaller/fienode
There are some questions around on the internet of how to find CoW
copies, which I've answered:
http://unix.stackexchange.com/questions/263309/how-t