Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157884 - sys-apps/coreutils-6.4 - du -x omits directories on the same file system
Summary: sys-apps/coreutils-6.4 - du -x omits directories on the same file system
Status: RESOLVED DUPLICATE of bug 156049
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 157883 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-11 21:22 UTC by David Holl
Modified: 2006-12-12 10:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,3.61 KB, text/plain)
2006-12-11 21:23 UTC, David Holl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Holl 2006-12-11 21:22:45 UTC
This works fine:
# dd if=/dev/zero bs=1M count=32 of=t1
# dd if=/dev/zero bs=1M count=32 of=t2
# du -x t1 t2
32800   t1
32800   t2

But this does not work:
# mkdir t1 t2
# dd if=/dev/zero bs=1M count=32 of=t1/t
# dd if=/dev/zero bs=1M count=32 of=t2/t
# du -x t1 t2
32800   t1
0       t2

Since both directories and all files under them are on the same device, du should have reported the size for t2 as well.  (This had worked in past versions of du, but unfortunately, I don't recall the first time I noticed this bug -- possibly several months to a year ago.)
Comment 1 David Holl 2006-12-11 21:23:52 UTC
Created attachment 103840 [details]
emerge --info
Comment 2 David Holl 2006-12-11 21:27:34 UTC
*** Bug 157883 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2006-12-12 10:11:35 UTC

*** This bug has been marked as a duplicate of 156049 ***