coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coreutils] cp/reflink-perm fails on btrfs (and probably on ocfs2, t


From: Erik Auerswald
Subject: Re: [coreutils] cp/reflink-perm fails on btrfs (and probably on ocfs2, too)
Date: Tue, 26 Oct 2010 12:35:39 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]