ls > 2G file problem

Henry Pan pank at pank.org
Wed Jan 18 16:50:28 UTC 2006


At 03:35 下午 2006/1/18, Rob Landley wrote:
>On Tuesday 17 January 2006 22:39, Henry Pan wrote:
> > ls > 2G file cause error "Value too large for defined data type".
> > latest busybox 1.1.0 still have this problem.
> >
> > # busybox ls
> > ls: ./FC4-i386-DVD.iso: Value too large for defined data type
> > SHA1SUM
>
># busybox ls -l hda1.img
>-rw-r--r--    1 root     root    6870344937 Jun 26  2005 hda1.img
>
>Works for me.
>
>Did you enable large file support in the busybox .config?

Sorry, I forget to enable large file support.
After I enable large file support and rebuild busybox,
ls > 2G file works fine.

Thank you.




More information about the busybox mailing list