Description of problem: /usr/bin/file is not capable of handling large files. Version-Release number of selected component (if applicable): Red Hat Enterprise Linux AS (version 2.1) file: 3.35-2 (everything install with Q1 errata) How reproducible: always Steps to Reproduce: 1.run /usr/bin/file on a file > 2GB 2. 3. Actual results: Can't stat 'filename' (Value too large for defined data type.) Expected results: Type of the file should be returned. Additional info: Works in 7.3 file version 3.37
Works in file-3.39-8.7x https://rhn.redhat.com/errata/RHSA-2003-087.html Repeat after me... :-) "I will up2date before I file a bug" "I will up2date before I file a bug" .live.[root@i386-21as root]# stat huge File: "huge" Size: 4294967296 Blocks: 8396808 IO Block: -4612040817085771776 Regular FileDevice: 822h/2082d Inode: 1081021 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: Tue Mar 18 16:11:09 2003 Modify: Tue Mar 18 16:10:38 2003 Change: Tue Mar 18 16:10:38 2003 .live.[root@i386-21as root]# file huge huge: data
oops :)