From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 6 20:24:15 2007 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C1C116A402; Tue, 6 Feb 2007 20:24:15 +0000 (UTC) (envelope-from flz@xbsd.org) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 3B22A13C48D; Tue, 6 Feb 2007 20:24:14 +0000 (UTC) (envelope-from flz@xbsd.org) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by postfix2-g20.free.fr (Postfix) with ESMTP id B83D0A2581D; Tue, 6 Feb 2007 20:00:48 +0100 (CET) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp1-g19.free.fr (Postfix) with ESMTP id 57CB89B8DD; Tue, 6 Feb 2007 21:00:36 +0100 (CET) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 81CEF11AD8; Tue, 6 Feb 2007 21:00:32 +0100 (CET) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id teLpK9H0kzYl; Tue, 6 Feb 2007 21:00:25 +0100 (CET) Received: from [193.120.13.130] (cream.xbsd.org [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id 0281E1164F; Tue, 6 Feb 2007 21:00:24 +0100 (CET) Message-ID: <45C8DD5F.3000907@xbsd.org> Date: Tue, 06 Feb 2007 19:56:15 +0000 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org, freebsd-fs@FreeBSD.org X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigEA21DBDE6DF7D3186E3D97BC" Cc: Subject: Use of kqueue/kevent NOTE_EXTEND fflag in VFS 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: Tue, 06 Feb 2007 20:24:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEA21DBDE6DF7D3186E3D97BC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'd like to use NOTE_EXTEND in the following cases: create, link, mkdir, mknod, rename, symlink for the parent vnode or the destination parent vnode (in the rename case). The rationale is that there's no way (or I don't see it) to know if a file/directory is removed or created when monitoring a directory. Using NOTE_EXTEND in the sense of "there's more files/directories" makes it possible to distinguish both cases. Another possibility could be to create new flags that would be the equivalent of IN_{CREATE,DELETE}_{FILE,SUBDIR}. Any thoughts? --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enigEA21DBDE6DF7D3186E3D97BC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFyN1pMxEkbVFH3PQRCvOPAJ9YBjOshompn3KXspXFtxjxnTw03wCgh4Qa HrDEgaVrfdSvZau4hJZbF84= =4kxa -----END PGP SIGNATURE----- --------------enigEA21DBDE6DF7D3186E3D97BC--