df: handle bind mounts when processing device nodes
commit2091f44993c4d0ad16cbe272c247bb452ae74216
authorPádraig Brady <P@draigBrady.com>
Wed, 4 Dec 2013 00:50:10 +0000 (4 00:50 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 4 Dec 2013 13:17:17 +0000 (4 13:17 +0000)
tree3fe1e3c3d2d4ef7e1dbd0dc10f9500ced0b27edf
parent33660b4973baf66423207615bef0d277ca7a5938
df: handle bind mounts when processing device nodes

* src/df.c (get_disk): Use the same heuristic used in
get_point() to select the shortest file system mount point,
in an attempt to show the base mounted file system.
* NEWS: Mention the bug fix.
NEWS
src/df.c