| Summary: | utility "du" shows incorrect disk usage when use -h option | ||
|---|---|---|---|
| Product: | Base System | Reporter: | liugang <liugang> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
liugang
2001-05-09 08:20:01 UTC
On Wed, May 09, 2001 at 12:15:53AM -0700, liugang@usa.net wrote: > >Release-Note: > >Audit-Trail: > >Unformatted: > >mkdir test > >du -h test > (output is:) 258M test I can't reproduce this here: % mkdir empty % du -h empty 1.0K empty % uname -r 4.2-STABLE I think the version of du is unchanged since 4.0, so I don't think the problem has been bugfixed. David. State Changed From-To: open->closed Actually - I read the logs wrong. This bug was fixed between 4.0 and 4.1. You should be able to find the patch and new version of du.c off: http://www.FreeBSD.org/cgi/cvsweb.cgi/src/usr.bin/du/du.c?only_with_tag=RELENG_4 |