On Sun, Jan 13, 2002 at 01:11:41AM -0500, Brian J. Murrell wrote:
> On Sun, Jan 13, 2002 at 01:04:28PM +1100, Geoffrey Lee wrote:
> > 
> > Applications have to be compiled with large file support, e.g. I think 
> > proftpd the last time we tested didn't support large files.
> 
> Indeed.
> 
> I looked closer at my app and it is indeed compiled with large file
> support:
> 
> gcc -I. -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Wall -pthread 
>-march=athlon -malign-double -fschedule-insns2 -O3 -o foo.o -c foo.c
> 


Well, code could fail for a couple of reasons. For exmaple, in the case of
proftpd, it declared, say, filesize with an unsigned long. On 32-bit 
architectures, this is going to overflow (as opposed to off_t + largefile
support).

> So I need to look elsewhere.
> 


My assumption would be that if these defines are in the Makefile you 
can (probably) assume that there is largefile support.


> The filesystem that my Cooker was writing to was NFS mounted from an
> 8.1 box.  Do both 8.1 and NFS support large file operations?
> 

I don't have files half as big, ask Juan?   :)

         -- Geoff.
         

Reply via email to