GNU bug report logs - #25755
problem of "tail -F max-unchanged-stats "

Previous Next

Package: coreutils;

Reported by: "chuyifan" <chuyifan <at> made-in-china.com>

Date: Thu, 16 Feb 2017 16:35:03 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 25755 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: chuyifan <chuyifan <at> made-in-china.com>, 25755 <at> debbugs.gnu.org
Subject: Re: bug#25755: problem of "tail -F max-unchanged-stats "
Date: Thu, 16 Feb 2017 22:19:44 -0800
tag 25755 notabug
close 25755
stop

On 16/02/17 00:18, chuyifan wrote:
> Hi:
> 
> I found a problem of tail -F in centos 6.7. The kernel version is
> 2.6.32-642.3.1.el6. I execute "tail -f --follow=name
> --max-unchanged-stats=50 --sleep-interval=1 ./t" in a terminal and execute
> echo command to append some content to file t. then I execute "mv t t1", the
> "tail -f " show error message of "no such file t" immediately.
> 
> The parameter of "--max-unchanged-stats" seems to have no effect. But in
> centos 5.6, things is different. The parameter of "--max-unchanged-stats"
> take effect. So I want to know the reason. Thank you. 

Hi,

Since the inotify implementation, --max-unchanged-stats is ineffective,
and this is indicated in the man page in the description of that option.

thanks,
Pádraig





This bug report was last modified 6 years and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.