Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2000 07:42:53 -0700 (PDT)
From:      jan.rhebergen@pobox.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/20007: du -hcs * gives different wrong results directories compared to du -cs *
Message-ID:  <20000718144253.B447037BE49@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000718144253.B447037BE49>