From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 14 00:08:40 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD33216A41F for ; Wed, 14 Dec 2005 00:08:40 +0000 (GMT) (envelope-from V.Haisman@sh.cvut.cz) Received: from service.sh.cvut.cz (service.sh.cvut.cz [147.32.127.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C5B743D7B for ; Wed, 14 Dec 2005 00:08:37 +0000 (GMT) (envelope-from V.Haisman@sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service.sh.cvut.cz (Postfix) with ESMTP id 4B78B1A33E5 for ; Wed, 14 Dec 2005 01:08:36 +0100 (CET) Received: from service.sh.cvut.cz ([127.0.0.1]) by localhost (service [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14271-02; Wed, 14 Dec 2005 01:08:32 +0100 (CET) Received: from logout.sh.cvut.cz (logout.sh.cvut.cz [147.32.127.203]) by service.sh.cvut.cz (Postfix) with ESMTP id 571BC1A33D6; Wed, 14 Dec 2005 01:08:32 +0100 (CET) Received: from logout.sh.cvut.cz (logout.sh.cvut.cz [147.32.127.203]) by logout.sh.cvut.cz (Postfix) with ESMTP id 92F8F61C34; Wed, 14 Dec 2005 01:12:23 +0100 (CET) Date: Wed, 14 Dec 2005 01:12:23 +0100 (CET) From: Vaclav Haisman To: Vaclav Haisman In-Reply-To: <20051213193118.Q94136@logout.sh.cvut.cz> Message-ID: <20051214010711.F78686@logout.sh.cvut.cz> References: <20051213193118.Q94136@logout.sh.cvut.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at sh.cvut.cz Cc: freebsd-hackers@freebsd.org Subject: kqueue/kevent and directories (Was: Equivalent of POLLERR for kqueue.) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2005 00:08:41 -0000 On Tue, 13 Dec 2005, Vaclav Haisman wrote: > Is there equivalent of POLLERR for kqueue()? Or is EV_EOF the only thing? I > would like to use kqueue/kevent for sockets but error condition signaling is > not clear to me from manpage. > > Vaclav Haisman Another unclear area for me is how do changes in watched directory map on NOTE_*s of EVFILT_VNODE filter. What NOTE_* do I get when a file is created/deleted/modified etc.? Is there some other documentation I can read besides the man page? Vaclav Haisman