Jason White wrote: > Jim Meyering <[email protected]> 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!
