diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-06-19 12:11:00 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-06-24 14:39:34 +0100 |
commit | b7bb499496ff306d87a07ffd68c034f29b97bc37 (patch) | |
tree | e6621e0f9e4bcef9413c9fed54d9c82087456d00 /NEWS | |
parent | 6635f0b0f71f68ab4e9108091bc6049ddb143648 (diff) | |
download | coreutils-b7bb499496ff306d87a07ffd68c034f29b97bc37.tar.xz |
du: ignore directory cycles due to bind mounts
* src/du.c (process_file): Treat cycles due to bind mounts
like cycles due to following symlinks.
* tests/du/bind-mount-dir-cycle.sh: Adjust accordingly.
* NEWS: Mention the change in behavior.
Reported at http://bugzilla.redhat.com/836557
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -48,6 +48,9 @@ GNU coreutils NEWS -*- outline -*- display the correct device name for directories mounted multiple times. [These bugs were present in "the beginning".] + du now silently ignores directory cycles introduced with bind mounts. + Previously it would issue a warning and exit with a failure status. + head --bytes=-N and --lines=-N now handles devices more consistently, not ignoring data from virtual devices like /dev/zero, or on BSD systems data from tty devices. |