From owner-freebsd-current Mon Oct 28 15:26:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D1B8C37B401; Mon, 28 Oct 2002 15:26:45 -0800 (PST) Received: from conure.mail.pas.earthlink.net (conure.mail.pas.earthlink.net [207.217.120.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79E5D43E75; Mon, 28 Oct 2002 15:26:45 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0469.cvx22-bradley.dialup.earthlink.net ([209.179.199.214] helo=mindspring.com) by conure.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 186JHQ-000279-00; Mon, 28 Oct 2002 15:26:45 -0800 Message-ID: <3DBDC767.F938D446@mindspring.com> Date: Mon, 28 Oct 2002 15:25:27 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin Cc: Nate Lawson , current@FreeBSD.org, Joe Marcus Clarke Subject: Re: libgtop port and v_tag changes References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Baldwin wrote: > > To build little applets that activate a flashing red light when > > certain files are written? > > Why do you need the inode number to do that. Just kqueue on the > file itself using a regular fd, and in that case you can stat(2) > the file if you really need the i-node number. You don't need > to use libkvm to actually go read the kernel to find this info! Maybe they have to check a SYSV message queue at the same time, but can't use a blocking kqueue call because my System V message queue kqueue patches were never committed. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message