Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2014 09:44:15 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Shawn Webb <lattera@gmail.com>
Subject:   Re: inode modification notification in kernel
Message-ID:  <201404160944.15107.jhb@freebsd.org>
In-Reply-To: <20140411220747.GA7305@pwnie.vrt.sourcefire.com>
References:  <20140411220747.GA7305@pwnie.vrt.sourcefire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, April 11, 2014 6:07:48 pm Shawn Webb wrote:
> Hey All,
> 
> I'm a newb at the kernel API. What's the best way to receive
> notification of a deletion event of a given inode in the kernel? In
> userland, I'd use kqueue/kevent. Is that same API available in the
> kernel? Or is there something different?

There really isn't an in-kernel API for that.  However, you might be
able to do something in your filesystem's VOP_RECLAIM (depends on what
you are trying to use this for)

-- 
John Baldwin



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