Bug 1129661

Summary: df does not respect device path if specified
Product: Red Hat Enterprise Linux 7 Reporter: Tomas Dolezal <todoleza>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: Tomas Dolezal <todoleza>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: jscotka, kvolny, ooprala, ovasik, pbrady
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: coreutils-8.22-13.el7 Doc Type: Bug Fix
Doc Text:
TBD - sorry still not sure what to enter here (it is about df differences between RHEL 6 and RHEL 7 caused by /etc/mtab being now symlink to /proc/mounts. Cause: Consequence: Fix: Result:
Story Points: ---
Clone Of: 812449 Environment:
Last Closed: 2015-11-19 12:44:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 812449    
Bug Blocks:    

Comment 3 Ondrej Vasik 2015-05-13 18:46:31 UTC
I believe this is not a bug, but I had no time to further investigate this so far. Definitely not a regression - code from the original fix is included in RHEL 7 coreutils - but further extended by upstream.
RHEL 7 df uses extended logic to determine which mountpoint should be shown (from multiple possible options). As Ondrej worked on the deduplication, setting needinfo on him, but I tend to not a bug this request (we have multiple bug reports about deduplication improvements).

Comment 4 Ondrej Oprala 2015-05-14 12:18:36 UTC
As per conversation with Ondrej, we found out the patch we applied to rhel-6 is missing in 7. We further discussed, that it might be better to patch rhel7
with the upstream version of get_disk(), with the last change in the
dbd7c9452 upstream commit.

Comment 10 errata-xmlrpc 2015-11-19 12:44:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2160.html