bug-coreutils
[Top][All Lists]
Advanced

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

Re: Bug#561225: coreutils: cp --reflink fails with Btrfs file system


From: Jim Meyering
Subject: Re: Bug#561225: coreutils: cp --reflink fails with Btrfs file system
Date: Wed, 16 Dec 2009 09:46:25 +0100

Jason White wrote:
> Jim Meyering <address@hidden> wrote:
>> Can you rerun that via strace and send the log at least
>> to the bug-coreutils list (Cc'd)?
>>
>>     strace -o log cp --reflink testfile testfile2
>
> It opens both files and then performs the ioctl() call:
> ioctl(4, 0x40049409, 0x3)               = -1 EINVAL (Invalid argument)
>
>> Even better, can you do that using stock upstream coreutils-8.2,
>> assuming it still fails?
>
> This may not be necessary. If I run strace on bcp, it turns out that its
> ioctl() call encounters the same error:
>
> ioctl(3, 0x40049409, 0x4)               = -1 EINVAL (Invalid argument)
> and thus the suggestion that bcp (by behaving like --reflink=auto) is masking
> the issue appears to be exactly on point.

Good to know it's not a problem with cp.
Thanks!




reply via email to

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