Package: coreutils
Version: 8.4-1

Hi,

on trying to clone chroots for our buildds on an current btrfs
(current 2.6.32-kernel), we got some errors with "invalid argument".
On closer inspection, we found out that copying empty files gives an
error, see below how to reproduce that:

# mkdir dir
# touch dir/file
# cp --reflink=always dir dir.1 -a
cp: failed to clone `dir.1/file': Invalid argument
# ls -l dir.1/file
-rw------- 1 root root 0 Jan 26 21:50 dir.1/file
# echo 1 > dir/file
# cp --reflink=always dir dir.2 -a
#


Cheers,
Andi



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to