Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2002 15:25:27 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Nate Lawson <nate@root.org>, current@FreeBSD.org, Joe Marcus Clarke <marcus@marcuscom.com>
Subject:   Re: libgtop port and v_tag changes
Message-ID:  <3DBDC767.F938D446@mindspring.com>
References:  <XFMail.20021028162749.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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