Can cp copy files which are greater than 4GB ?

Mark Ryden markryde at gmail.com
Tue Dec 29 18:17:16 UTC 2009


Well,
  In the mean time I tried it and it failed; probably
coreutils I am using was build without this
flag. (coreutils-7.2-4.fc11.i586).

I will try to build coreutils with this flag and then perform that cp.

Rgs,
Mark

On Tue, Dec 29, 2009 at 6:12 PM,  <tytso at mit.edu> wrote:
> On Tue, Dec 29, 2009 at 04:32:32PM +0200, Mark Ryden wrote:
>> Hello,
>> Can "cp" under ext3 partition copy files which are greater than 4GB ?
>> (the source file and the destination are on the same ext3 partition, and there
>> is of course enough space)
>> Is there a limit on the size of a file which can be copied thus ?
>
> It should, as long as /bin/cp is compiled with O_LARGEFILE support.
>
>                                         - Ted
>




More information about the Ext3-users mailing list