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 /NEWS | |
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 'NEWS')
-rw-r--r-- | NEWS | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -44,10 +44,11 @@ GNU coreutils NEWS -*- outline -*- [These dd bugs were present in "the beginning".] - df now elides duplicates for virtual file systems like tmpfs. - Displays the correct device details for points mounted multiple times. - Displays placeholder values for inaccessible file systems, - rather than error messages or values for the wrong file system. + df has more fixes related to the newer dynamic representation of file systems: + Duplicates are elided for virtual file systems like tmpfs. + Details for the correct device are output for points mounted multiple times. + Placeholder values are output for inaccessible file systems, rather than + than error messages or values for the wrong file system. [These bugs were present in "the beginning".] du now silently ignores directory cycles introduced with bind mounts. |