[TriLUG] tar-1.14 can't make large files

Joseph Mack NA3T jmack at wm7d.net
Fri Jul 30 13:49:19 EDT 2004


On Fri, 30 Jul 2004, Jeremy Portzer wrote:

> Large file support is not (exactly) related to the filesystem, it's
> related to the version of glibc and the tools that are creating the
> files (I mentioned this earlier).  However, your version of glibc should
> be new enough, and as I said earlier, the limit that O_LARGE_FILE
> overrides is the 2GiB limit (2^31-1 = 2147483648 bytes).  I have no idea
> what would be causing a *one* gibibyte limit.  Very odd.

I've always had the limit at 1073 MB, so I never really knew why people
talked about the 2G limit. I assumed there was some factor of 2 that
everyone else knew about that I didn't.

> Thanks for trying the strace, when it did the open() command near the
> start of the trace, did it open with the O_LARGE_FILE option?

yup. (opened both /dev/zero and file1 with O_LARGEFILE)

> But really this is a red herring as you should have no problem with the
> 1500 MiB file.

I see :-(

Thanks

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!



More information about the TriLUG mailing list