Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2001 17:40:04 -0800 (PST)
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/24955:/usr/bin/tail -F in 4.1+ doesn't work if file inode changes (works in 4.0) 
Message-ID:  <200111190140.fAJ1e4K26370@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/24955; it has been noted by GNATS.

From: Ian Dowse <iedowse@maths.tcd.ie>
To: Maxim Konovalov <maxim@macomnet.ru>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/24955:/usr/bin/tail -F in 4.1+ doesn't work if file inode changes (works in 4.0) 
Date: Mon, 19 Nov 2001 01:39:04 +0000

 In message <200111030850.fA38o2f55553@freefall.freebsd.org>, Maxim Konovalov wr
 ites:
 > Hello,
 > 
 > Try this patch:
 
 Hi,
 
 While this patch should address the particular case mentioned in this
 PR (tail is pointed at a symlink, but the symlink changes), it doesn't
 solve the general problem of any other component in the specified
 path changing. Maybe it is best to just resort to a polling approach
 when the '-F' flag is specified? It could still use kqueue, but just
 re-stat the path every ~1-10 seconds to check if the inode changed.
 
 Ian
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111190140.fAJ1e4K26370>