tags 12421 moreinfo thanks Alan Curry wrote: > owen.z...@alitech.com writes: >> >> Dear Sir, >> >> A strange issue happens when I use the cp tool on two directory. > > [snip - summary: after recursive cp, some file has the wrong size] > > I don't have any good ideas about the cause of this problem, but since I > didn't see anyone else replying, I'll suggest some investigation techniques. > > Run cp --version so we know how far back in history we should look for > similar bugs. > > cmp the two versions of the file to see if the short one is just truncated, > or if there are other differences. > > Run df -T on the source and destination. > > If it's reproducible, run strace -o cptrace cp ... and publish the cptrace > for others to look at. (If the files being copied are private, the names and > contents will be in the trace so you will have to inspect it yourself.)
Thanks for replying, Alan. I've marked this as needing more info.