[GRASS-user] Large File Support (LFS)

Glynn Clements glynn at gclements.plus.com
Sun Mar 21 06:47:24 EDT 2010


Hamish wrote:

> > I found this: http://grass.osgeo.org/wiki/Large_File_support
> > 
> > and guess that is I why I never had a problem on my 64bit
> > machine.
> 
> No, LFS should be mostly irrelevant for r.in.xyz. The version in
> 6.4 without LFS should handle input files of hundreds of
> gigabytes just fine. The only thing which might get messed up
> is the % done, but that's just a harmless informational message.

_FILE_OFFSET_BITS=64 causes fopen() to be redirected to fopen64().
Without it, fopen() will fail on a file >=2GiB.

> worst come to worst, pipe from stdin instead of reading from a
> file, but I'm skeptical that LFS is the cause.

Reading from stdin shouldn't be a problem.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list