[BusyBox 0006164]: du does not print identical directory name multiple times (mismatch with coreutils)
bugs at busybox.net
bugs at busybox.net
Tue Nov 11 19:41:56 UTC 2008
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=6164
======================================================================
Reported By: pgbovine
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 6164
Category: Standards Compliance
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 11-11-2008 11:41 PST
Last Modified: 11-11-2008 11:41 PST
======================================================================
Summary: du does not print identical directory name multiple
times (mismatch with coreutils)
Description:
Coreutils behavior:
$ mkdir A
$ du A
4 A
$ du A A
4 A
4 A
$ du A A A
4 A
4 A
4 A
Busybox behavior:
$ mkdir A
$ ./busybox du A
4 A
$ ./busybox du A A
4 A
$ ./busybox du A A A
4 A
Busybox doesn't duplicate the directory entries. Perhaps this is a
feature and coreutils is actually behaving incorrectly?
Note that when A is a REGULAR FILE (rather than a directory), coreutils
and busybox behave identically and duplicate the entries:
$ touch A
$ ./busybox du A
0 A
$ ./busybox du A A
0 A
0 A
$ ./busybox du A A A
0 A
0 A
0 A
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
11-11-08 11:41 pgbovine New Issue
11-11-08 11:41 pgbovine Status new => assigned
11-11-08 11:41 pgbovine Assigned To => BusyBox
======================================================================
More information about the busybox-cvs
mailing list