On Thu, Jun 22, 2000 at 05:25:55PM +0200, Alexander Leidinger wrote:
> Hi,
> I'm using the "-F" option of tail for some files which get rotated away.
> After the changes to use kqueue/kevent it didn't work as expected
> anymore. tail exits after the file gets rotated.
> Perhaps it didn't wait long enough to see the new file: I did a "tail
> test.txt" in one terminal and a "mv test.txt; touch test.txt" in another
> and I got "tail: test.txt: No such file or directory".

I got a little too aggressive when following the file; it wouuld switch
to the new file immediately, and get upset when it couldn't find it.

I've just committed a fix which allows for a window of time where 
the file doesn't exist at all, which should solve the above problem.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to