[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: large file support?
From: |
Bob Proulx |
Subject: |
Re: large file support? |
Date: |
Wed, 21 Jul 2004 11:13:26 -0600 |
User-agent: |
Mutt/1.3.28i |
Andreas Metzler wrote:
> [LFS support in find]
> On 2004-07-20 "Potenza, Joe" <address@hidden> wrote:
> > I get the error: "Value too large for defined data type" whenever find
> > encounters a file over 2 gig. I don't know how this find was compiled.
> > Is there a configure or compile option for largefile awareness or should
> > it work automatically. I did not see any reference in the install docs.
>
> > dmgtp-dataacq{joep}16: /usr/local/bin/find --version
> > GNU find version 4.1
> [...]
>
> Quoting NEWS:
> | * Major changes in release 4.1.5:
> | Add support for large files
Even without explicit large file support I believe find-4.1 compiles
and runs fine on large files if compiled using the right defines. On
most platforms it is _FILE_OFFSET_BITS=64. The support added to
findutils detects this automatically. But on HP-UX I had been using
the following prior to this support being added.
CFLAGS='-D_FILE_OFFSET_BITS=64' ./configure
Bob
P.S. I would rather say "./configure CFLAGS='-D_FILE_OFFSET_BITS=64'"
so that it is recorded in config.status. But you need a recent
version of autoconf for that and I think the old findutils-4.1 is too
old.