GNU bug report logs - #15955
df hides original mount point instead of bind mount

Previous Next

Package: coreutils;

Reported by: Phillip Susi <psusi <at> ubuntu.com>

Date: Fri, 22 Nov 2013 22:00:04 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Phillip Susi <psusi <at> ubuntu.com>
Cc: 15955 <at> debbugs.gnu.org
Subject: bug#15955: df hides original mount point instead of bind mount
Date: Sat, 23 Nov 2013 02:11:08 +0100
tag 15955 notabug
thanks

On 11/22/2013 10:59 PM, Phillip Susi wrote:
> Without /etc/mtab, df tries to hide mount points by detecting
> duplicates and only showing the *last* instance in /proc/mounts, but
> this causes the bind mount to be shown rather than the original.  It
> should show the *first* instance instead.

Thanks for the bug report.
However, IIRC that behavior was fixed in v8.21.  Since then, df(1)
shows the *shortest* mount point for the same bind mount.
Looking into the Fedora bug tracker, this method of reducing duplicates
among (possibly mass) bind mounts seems also not to have too many fans,
but until now we didn't find a better method.

Have a nice day,
Berny





This bug report was last modified 11 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.