Search code examples
64-bit32-bitlsgnu-coreutils

How to force `ls` to 64-bit sizes?


ls will, as far as I can tell, only write out file sizes as 32-bit ints. This has caused problems for me when I have a 5.4GB files that it insists are only 1.6GB. I'm on GNU coreutils version 5.97 and it's becoming a problem. Is there a compilation flag or otherwise command-line option to fix this?


Solution

  • 5.97 is 10 years old now, but it should have been using AC_SYS_LARGEFILE back then. What system is this?