Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 63170 - sum -s incorrect on large files
sum -s incorrect on large files
Product: Red Hat Linux
Classification: Retired
Component: textutils (Show other bugs)
i386 Linux
high Severity high
: ---
: ---
Assigned To: wdovlrrw
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2002-04-10 16:06 EDT by Burt Holzman
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-04-10 16:14:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Burt Holzman 2002-04-10 16:06:52 EDT
In RH7.2, sum -s yields different behavior from SUN and Redhat 6 sum -s.

Test case (sum_rh61 has been copied from a RH 6.1 machine):

[burt@bar /w2]$ rpm -qf `which sum`

[burt@bar /w2]$ dd if=/dev/urandom of=t2 bs=1024k count=50
50+0 records in
50+0 records out
[burt@bar /w2]$ sum -s t2
31462 102400 t2
[burt@bar /w2]$ ~/sum_rh61 -s t2
31461 102400 t2

.. and the correct behavior on Solaris:

rmine401> uname -a
SunOS rmine401 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-4
rmine401> sum t2
31461 102400 t2
Comment 1 Bernhard Rosenkraenzer 2002-04-10 16:14:11 EDT
I'm getting consistent results between RH 6.2 and textutils-2.0.21-1. Assuming it's fixed. 

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