diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-06-24 15:34:39 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-06-25 09:55:12 +0100 |
commit | d71c12f1e4e165c7da59989b49ded2805b7977cc (patch) | |
tree | 51dc1d73c2d81c7d28feddc6fe6c535fca829897 /COPYING | |
parent | 828801a174de8fa6e492f311210c37394f13b30f (diff) | |
download | coreutils-d71c12f1e4e165c7da59989b49ded2805b7977cc.tar.xz |
df: report correct device in presence of eclipsed mounts
* src/df.c (last_device_for_mount): A new function to identify
the last device mounted for a mount point.
(get_disk): Use the above to discard mount entries for a device,
where a later mount entry uses a different device name than
that of the user specified device.
* tests/df/over-mount-device.sh: A new root test.
* tests/local.mk: Reference the new test.
* NEWS: Reword for all these related recent fixes.
Discussed at: http://bugs.gnu.org/16539#69
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions