Subject: port-i386/6255: du -k command reports incorrect sum on large files
To: None <gnats-bugs@gnats.netbsd.org>
From: None <navas@bayarea.net>
List: netbsd-bugs
Date: 10/06/1998 13:41:43
>Number: 6255
>Category: port-i386
>Synopsis: du -k command reports incorrect sum on large files
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 6 13:50:01 1998
>Last-Modified:
>Originator: George Navas
>Organization:
George E. Navas navas@bayarea.net
Voice: (408)260-5000 Fax:(408)260-5003 http://www.bayarea.net
>Release: NetBSD 1.3.1
>Environment:
System: NetBSD baygate 1.3.1 NetBSD 1.3.1 (BAYGATE) #1: Sun Jun 28 04:54:33 PDT 1998 navas@baygate:/usr/src1.3.1/sys/arch/i386/compile/BAYGATE i386
>Description:
du -k command produces incorrect results when data exceeds 2gig or
so. See output below
96> ls -l server1
-rwx------ 1 root wheel 139 Oct 5 19:46 s1_10_05_98.csh*
-rw-r--r-- 1 root wheel 4544361843 Oct 5 22:09 s1_10_05_98.gz
-rw-r--r-- 1 root wheel 1820 Oct 5 22:09 s1_10_05_98.ls
-rwx------ 1 root wheel 149 Oct 5 19:42 sd1a_10_05_98.csh*
-rw-r--r-- 1 root wheel 162980 Oct 5 19:42 sd1a_10_05_98.gz
-rw-r--r-- 1 root wheel 797 Oct 5 19:42 sd1a_10_05_98.ls
du -k server1
245902 server1
>How-To-Repeat:
Create sever large files that exceed 4gig or so and run du -k
command.
>Fix:
>Audit-Trail:
>Unformatted: