Ich weiß, dass cpes eine --reflinkOption gibt, um vollständige Kopien im Vergleich zu "Kopien" beim Schreiben zu steuern.
Kann ich unter btrfs ls(oder einen anderen Befehl) herausfinden, ob eine Datei (im Sinne eines Copy-on-Write) einen Speicher mit einer anderen Datei teilt?
EDIT: @ StéphaneChazelas weist mich darauf hin filefrag, aber das scheitert für mich:
root@void:/tmp/mount# mount | tail -1
/tmp/back on /tmp/mount type btrfs (rw,relatime,space_cache)
root@void:/tmp/mount# df -h | tail -1
/dev/loop0 32M 13M 20M 38% /tmp/mount
root@void:/tmp/mount# ls -lh
total 8.0M
-rw-r--r-- 1 root root 8.0M Jan 19 08:43 one
root@void:/tmp/mount# cp --reflink=always one two
root@void:/tmp/mount# sync
root@void:/tmp/mount# ls -lh
total 16M
-rw-r--r-- 1 root root 8.0M Jan 19 08:43 one
-rw-r--r-- 1 root root 8.0M Jan 19 08:45 two
root@void:/tmp/mount# df -h | tail -1
/dev/loop0 32M 13M 20M 38% /tmp/mount
root@void:/tmp/mount# filefrag -kvx one
Filesystem type is: 9123683e
File size of one is 8388608 (8192 blocks of 1024 bytes)
FIEMAP failed with unknown flags 2
one: FIBMAP unsupported
root@void:/tmp/mount# uname -a
Linux void 4.1.7+ #817 PREEMPT Sat Sep 19 15:25:36 BST 2015 armv6l GNU/Linux
filefrag -vkönnen Sie überprüfen, ob zwei Dateien gemeinsame Daten haben.