Date: Tue, 06 Feb 2007 19:56:15 +0000 From: Florent Thoumie <flz@xbsd.org> To: freebsd-hackers@FreeBSD.org, freebsd-fs@FreeBSD.org Subject: Use of kqueue/kevent NOTE_EXTEND fflag in VFS Message-ID: <45C8DD5F.3000907@xbsd.org>
next in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45C8DD5F.3000907>