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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25755 in the body.
You can then email your comments to 25755 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#25755; Package coreutils. (Thu, 16 Feb 2017 16:35:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "chuyifan" <chuyifan <at> made-in-china.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 16 Feb 2017 16:35:03 GMT) Full text and rfc822 format available.

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

From: "chuyifan" <chuyifan <at> made-in-china.com>
To: <bug-coreutils <at> gnu.org>
Subject: problem of "tail -F max-unchanged-stats "
Date: Thu, 16 Feb 2017 16:18:41 +0800
[Message part 1 (text/plain, inline)]
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. 

[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#25755; Package coreutils. (Fri, 17 Feb 2017 06:20:02 GMT) Full text and rfc822 format available.

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





Added tag(s) notabug. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 29 Oct 2018 02:40:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 25755 <at> debbugs.gnu.org and "chuyifan" <chuyifan <at> made-in-china.com> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 29 Oct 2018 02:40:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 26 Nov 2018 12:24:07 GMT) Full text and rfc822 format available.

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.