On 15/12/09 13:00, Jim Meyering wrote:
Jason White wrote:
Package: coreutils
Version: 8.0-2

ja...@vrtl:~$ touch testfile
ja...@vrtl:~$ cp --reflink testfile testfile2
cp: failed to clone `testfile2': Invalid argument

I am running kernel 2.6.32 with a Btrfs root file system under KVM, x86-64
architecture.

It was suggested on the Btrfs mailing list that I test file cloning by running
the bcp demonstration script provided as part of btrfs-progs (available from
a Btrfs Git repository). In my test, bcp was able to clone a file,
suggesting that this may be a Coreutils bug rather than a kernel issue.

Note the bcp python script silently falls back to a standard copy,
so may be hiding the issue. Note you can get that behaviour with cp like:

cp --reflink=auto testfile testfile2

cheers,
Pádraig.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to