From bb481a0c1d059266d33fd72bf827cb179bcaaf64 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Sun, 9 Jun 2019 12:39:27 +0100 Subject: [PATCH] doc: fix description of tail -f on truncated files * doc/coreutils.texi (tail invocation): Update to match the new behavior following commit v8.23-189-gb28ff6a --- doc/coreutils.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 91f2e6d780..f543787c78 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -3078,7 +3078,8 @@ the need for any periodic reopening. No matter which method you use, if the tracked file is determined to have shrunk, @command{tail} prints a message saying the file has been truncated -and resumes tracking the end of the file from the newly-determined endpoint. +and resumes tracking from the start of the file, assuming it has been +truncated to 0, which is the usual truncation operation for log files. When a file is removed, @command{tail}'s behavior depends on whether it is following the name or the descriptor. When following by name, tail can -- 2.47.2