Hi, On Tue, Oct 26, 2010 at 11:39:58AM +0200, Jim Meyering wrote: > The cp/reflink-perm test fails on a btrfs file system: > > echo > file2 # file with data > cp --reflink=auto --preserve --attributes-only file2 empty_copy || fail=1 > test -s empty_copy && fail=1 > > because with --reflink=auto, the file contents are copied, too,
Is this intentional? I would have expected that no data is copied, because this is stated in the documentation. The --reflink option should change behaviour of a data copy only, IMHO. Erik -- [W]e learned that the Linux load average rolls over at 1024. And we actually found this out empirically. -- H. Peter Anvin