From owner-freebsd-current Thu Jun 22 8:27: 3 2000 Delivered-To: freebsd-current@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 5072E37C30D; Thu, 22 Jun 2000 08:26:50 -0700 (PDT) (envelope-from netchild@leidinger.net) Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.14 #3) id 1358sM-0002AR-00; Thu, 22 Jun 2000 17:26:42 +0200 Received: from [213.6.42.195] (helo=Magelan.Leidinger.net) by mx0.freenet.de with esmtp (Exim 3.14 #3) id 1358sH-0007K2-00; Thu, 22 Jun 2000 17:26:39 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id RAA01268; Thu, 22 Jun 2000 17:25:56 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200006221525.RAA01268@Magelan.Leidinger.net> Date: Thu, 22 Jun 2000 17:25:55 +0200 (CEST) From: Alexander Leidinger Subject: tail after kqueue changes To: current@freebsd.org Cc: jlemon@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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". The same test with rev 1.11 of usr.bin/tail/forward.c succedes. Bye, Alexander. -- It's not a bug, it's tradition! http://www.Leidinger.net Alexander+Home @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message