RHEL 5 du (coreutils-5.97) -D flag handling bug causes -x to be ignored

Solution Verified - Updated -


On a RHEL 5.8 system(appears to apply to all 5.x) du version 5.97, from coreutils-5.97-34.el5_8.1, ignores the '-x' (--one-file-system) flag if the '-D' (--dereference-args) flag is specified after it on the command-line.

This bug appears to be due to incorrect bitfield handling in the du argument parsing and identified in 2006:

Can Redhat incorporate this patch? My current workaround is to specify '-x' last.


Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content