[lkml]   [2000]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: >2 gig files on 2.4.0-test6?

On Sat, 26 Aug 2000 wrote:

> On Sat, 26 Aug 2000, skp wrote:
> > Hmm. As posted a bit earlier, I have Slackware 7.0 installed, which uses
> > glibc 2.1.2. Compiling against that doesn't appear to work.
> >
> > I'll try installing the glibc 2.1.3 package, and see if that clears things
> > up a bit.
> glibc 2.1.3 is the first version with partial LFS support. 2.2 is more
> complete.

Actually, after some investigation (read: booting off a Slackware 7.1
bootable cd), I discovered that fileutils 3.13 (running under glibc 2.1.1,
no less - looks like the boot image hasn't been updated lately...) works -
ls reports the file size correctly.

-rw-r--r-- 1 root root 3072000000 Aug 22 06:38 3gigfile

strace has confirmed that lstat() returns the correct value as well. The
problem seems to be with how ls in fileutils 4.0 *prints* the file size -
somewhere, it's getting converted to an integer, which would be a Bad
Thing (TM).

If I knew more about C than I do now (read: next to nothing), I'd have
this problem fixed by now - but right now, I'm just tracing through a mess
of functions, trying to figure out where exactly things are going wrong.

I guess this is one for GNU, not for the kernel list.


> -ben

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.044 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site