From: Pádraig Brady
Date: Sun, 9 Jun 2019 11:39:27 +0000 (+0100) Subject: doc: fix description of tail -f on truncated files X-Git-Tag: v8.32~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb481a0c1d059266d33fd72bf827cb179bcaaf64;p=thirdparty%2Fcoreutils.git 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 --- 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