Bug 183237

Summary: stat reports incorrect io block size
Product: Red Hat Enterprise Linux 2.1 Reporter: Don Howard <dhoward>
Component: statAssignee: Ngo Than <than>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHEL3/RHEL4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-05-22 12:31:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Don Howard 2006-02-27 18:46:17 UTC
Description of problem:
stat reports incorrect values for IO Block size:

$ stat /etc/modules.conf
  File: "/etc/modules.conf"
  Size: 474             Blocks: 8          IO Block: -4612010443077054464
                                                     ^^^^^^^^^^^^^^^^^^^^  


Version-Release number of selected component (if applicable):
$ rpm -q stat
stat-2.5-3

How reproducible:
always - stat <filename>


Additional info:
Turning off -D_FILE_OFFSET_BITS=64 in the package makefile corrects this problem.

Comment 1 Ngo Than 2006-05-22 12:31:09 UTC
I have fixed the output for largefile again. You find the new stat-2.5-3.1 on 
porkchop:/home/devel/than. This problem does not happen in RHEL3/RHEL4RHEL

Please reopen it if we want to have it in RHEL-update.