view · edit · print · history

I just unslung my NSLU2 (6.8 beta) and had accidentally created a file foo.bar larger than 2GB and got this error when listing the file:

 ls: ./foo.bar: Value too large for defined data type

I wasn't able to ls or rm at that point.

The problem appears that ls was compiled with 32bit addressing.

The solution is to use perl (which is built using 64 bit addressing, downloaded via ipkg)

 perl -e 'unlink("foo.bar");'

More info here:


// March 6, 2011

view · edit · print · history · Last edited by Gilbert.
Originally by Gilbert.
Page last modified on March 06, 2011, at 09:47 AM