summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-12-14 22:45:34 +0000
committerPádraig Brady <P@draigBrady.com>2009-12-25 00:56:41 +0000
commit8d2ecd4a3e30be880b2937bc1d76297a1c2e387a (patch)
treec5eab862b21df8caf952c33a7f3da45954b021a6 /NEWS
parent11dc0016bb72372bbd46b964fb57f4d10448225a (diff)
downloadcoreutils-8d2ecd4a3e30be880b2937bc1d76297a1c2e387a.tar.xz
tail: fix --follow to not use inotify on remote files
* src/tail.c (struct File_spec): Add a flag to record if file is remote. (recheck): If we're using inotify then check if the file has gone remote and if so, drop it with a warning. (any_remote_files): A new function to check for any open remote files. (tailable_stdin): A new function to refactor the check for whether a tailable file was specified through stdin. (fremote): A new function to check if a file descriptor refers to a remote file. (tail_forever_inotify): Add some comments. (tail_file): Record if a file is remote when initially opened. (main): Disable inotify if any remote files specified. Also document the caveat about remounted files not being noticed by inotify. * NEWS: Mention the fix.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index cad425407..6128e3fa5 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,11 @@ GNU coreutils NEWS -*- outline -*-
and rpc_pipefs. Also Minix V3 is displayed correctly as minix3, not minux3.
[bug introduced in coreutils-8.1]
+ tail -f (inotify-enabled) once again works with remote files.
+ The use of inotify with remote files meant that any changes to those
+ files that was not done from the local system would go unnoticed.
+ [bug introduced in coreutils-7.5]
+
touch -a once again guarantees that a file's change time is
adjusted, working around a bug in current Linux kernels.
[bug introduced in coreutils-8.1]