]> git.ipfire.org Git - thirdparty/coreutils.git/commit
df: look for accessible mount points for specified devices
authorPádraig Brady <P@draigBrady.com>
Wed, 18 Jun 2014 12:10:17 +0000 (13:10 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 24 Jun 2014 16:38:46 +0000 (17:38 +0100)
commit828801a174de8fa6e492f311210c37394f13b30f
treefce8b0ab6859c7361718072a34f7a847d2fb6289
parent9d736f8dbfef2b33d431dccf852dace9cfc84d59
df: look for accessible mount points for specified devices

* src/df.c (get_disk): Include whether we can access the mount dir,
in the mount entry selection criteria.  This handles the case where
a device is (bind) mounted multiple times with the shortest mount path
not being accessible, while some of the other mount points are.
Discussed at: http://bugs.gnu.org/16539#63
src/df.c