On 01/04/15 14:49, Ramaseshan wrote:
> Hi GNU team,
> Just wanted to check, when we copy a file using the cp utility, what 
> block size does it use to copy a file.
> I am also looking around and reading the archives, but if anybody could 
> respond it would be great.

It has been creeping up over time:

   8 -> 32K 
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v7.1-44-g55efc5f
  32 -> 64K 
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.16-33-ga18ba2f
  64 - 128K 
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.22-103-g74ca6e8

You can check your version like:

  strace -e read,write cp /bin/cp /dev/null

cheers,
Pádraig.



Reply via email to