[Top][All Lists]

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

ls command and large files

From: Lone Star Software Corp.
Subject: ls command and large files
Date: Fri, 12 Sep 2003 11:09:42 -0400
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

`ls` seems to incorrectly report the size of large files. The file tested should be a 2.9Gig file.

- ls version from man page output
ls (fileutils) 4.1 March 2002 LS(1)

[root] # ls -ls bigfile
3005416 -rw-r--r--    1 root     root     923832057856 Sep 12 18:14 bigfile
^^^^^^^ Correct ^^^^^^^^^^^ Does not look correct

address@hidden trash]# ls -lsh bigfile
2.9G -rw-r--r--    1 root     root         860G Sep 12 18:14 bigfile
^^^^ Correct                                    ^^^^^  Not Correct

Please let me know if it is something that I am missing.

Thank you,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]