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

Solution Verified - Updated -

Issue

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:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367691

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

Environment

Red Hat Enterprise Linux
5.8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.