From owner-freebsd-bugs Tue Jul 18 7:50: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id BC1BB37BE62 for ; Tue, 18 Jul 2000 07:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA62508; Tue, 18 Jul 2000 07:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id B447037BE49; Tue, 18 Jul 2000 07:42:53 -0700 (PDT) Message-Id: <20000718144253.B447037BE49@hub.freebsd.org> Date: Tue, 18 Jul 2000 07:42:53 -0700 (PDT) From: jan.rhebergen@pobox.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/20007: du -hcs * gives different wrong results directories compared to du -cs * Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 20007 >Category: misc >Synopsis: du -hcs * gives different wrong results directories compared to du -cs * >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 18 07:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Jan Rhebergen >Release: 4.0 release >Organization: private >Environment: FreeBSD doors.linux.bogus 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000 root@monster.cdrom.com:/usr/src/sys/compile/GENERIC i386 >Description: When trying du -hcs * from my home directory it incorrectly states the size of one of the directories, while du -cs * give the correct result. The totals are correct in both cases though. >How-To-Repeat: Example: bash-2.03$ du -csh * 267K GNUstep 1.0K cvsupfile 6.3M ftp 3.0K mail 6.6M nsmail 2.0K osnotes 4.0K stable-supfile_ 6.6M total The 6.6M for the nsmail directory is wrong! Look at this: bash-2.03$ du -cs * 268 GNUstep 1 cvsupfile 6457 ftp 4 mail 1 nsmail 2 osnotes 4 stable-supfile_ 6737 total >Fix: Not a clue! >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message