Description of Problem: stat command gives incorrect result on files > 2gb Version-Release number of selected component (if applicable): stat-2.5-5 How Reproducible: Steps to Reproduce: 1. create a file > 2Gb 2. run stat this_file 3. Actual Results: File: "/backup/FILE" Size: 3221225472 Blocks: 6297608 IO Block: -4611692959094534144 Regular File Device: 900h/2304d Inode: 12 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: Sat May 18 21:48:52 2002 Modify: Sat May 18 21:28:06 2002 Change: Sat May 18 21:28:06 2002 Expected Results: File: "/backup/FILE" Size: 3221225472 Blocks: 6297608 IO Block: 4096 Regular File Device: 900h/2304d Inode: 12 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: Sat May 18 21:48:52 2002 Modify: Sat May 18 21:28:06 2002 Change: Sat May 18 21:28:06 2002 Additional Information: The sources recompiled with "gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" give compilation warning but the result seems correct (see Expected Results)
It's fixed in 3.3-2. You find it in rawhide