Red Hat Bugzilla – Bug 1031641
findmnt should handle better trailing "/" in /proc/mounts entries
Last modified: 2014-10-14 03:34:46 EDT
Description of problem:
Looking for example at bug#1031636, where filesystems can potentially add a trailing slash in the device section of /proc/mounts
it would very useful if findmnt could automatically handle it when issuing commands similar to:
findmnt -o TARGET --noheadings 192.168.1.1:/mnt
and match the device, since effectively there can´t be both devices at the same time.
Version-Release number of selected component (if applicable):
It's already implemented for upstream, Fedora and RHEL7. It should be pretty simple to backport the function to RHEL6.
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.