[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Large file support in Woody



On Fri, Nov 17, 2000 at 01:22:17PM -0700, Jeff Lessem wrote:
> Now that woody is based on glibc2.2 I thought I would play with large
> file support.  Perhaps this was a mistake, as I have managed to create
> a 3GB file, but I can't remove it.  Any access to the file with the
> fileutils package (ls, rm, etc.) returns with "Value too large for
> defined data type".
> 
> I thought maybe fileutils had to just be rebuilt against the new
> glibc, but after an apt-get source --build fileutils, I still get the
> same error.  I am sure I am missing something quite obvious, so any
> pointers in the right direction would be greatly appreciated.

there's a hardcoded 2GB limit in libc. You've to patch libc
and recompile yourself. My boss made that (for writing something
like 70 GB files), but he's not here currently, so I cannot ask him.

If you just need rm, you can write a small program yourself with
unlink().

-- 
   Johannes



Reply to: