On Thu, Sep 16, 2004 at 11:33:37AM +0200, Kris wrote:
> During copy data, after 4GB the system report: can't copy no free space
> left on device.
> df reports 196GB free space
> Enybody knows whats wrong ?

If you are writing the data to a single file, then my guess is that
the program you're using was not compiled with large file support
enabled.  The default data types and ABI on a 32-bit system will result
in programs that cannot read or write files past a 4GB limit.

To enable large file support in your application, you can try
adding this to your compiler settings:

  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64

Be advised that this changes the off_t datatype to a 64-bit object.
If your program is using any off_t values and attempts to treat them
as "int" or "long int", it may not work.

                                                  -Dave Dodge


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to