Bug 183237 - stat reports incorrect io block size
Summary: stat reports incorrect io block size
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: stat
Version: 2.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ngo Than
QA Contact: Ben Levenson
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-27 18:46 UTC by Don Howard
Modified: 2007-11-30 22:06 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2006-05-22 12:31:09 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.