From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 7 20:05:18 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 5F65D16A40F for ; Sun, 7 Jan 2007 20:05:18 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0D0C313C459 for ; Sun, 7 Jan 2007 20:05:15 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1H3dWn-0006VP-9k for freebsd-hackers@freebsd.org; Sun, 07 Jan 2007 20:17:57 +0100 Received: from 89-172-46-216.adsl.net.t-com.hr ([89.172.46.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Jan 2007 20:17:57 +0100 Received: from ivoras by 89-172-46-216.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Jan 2007 20:17:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Sun, 07 Jan 2007 20:17:19 +0100 Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDABA33E81A83749121AD8011" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 89-172-46-216.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) X-Enigmail-Version: 0.94.1.2 Sender: news Subject: kqueue NOTE_RENAME 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: Sun, 07 Jan 2007 20:05:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDABA33E81A83749121AD8011 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I trying to use kqueue to monitor what happens to a directory tree, and one of the issues is how to handle NOTE_RENAME. In particular, while I can connect the event with the old filename (by storing (fd,filename) pairs), I don't know how to get the new name. Any ideas? --------------enigDABA33E81A83749121AD8011 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.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFoUdGldnAQVacBcgRAntmAJ0SAPYVuaYDazG8FAU+hiKt5HB3rwCePzVt VImLOi8rhNKWFZAHeOLdKOk= =f1AG -----END PGP SIGNATURE----- --------------enigDABA33E81A83749121AD8011--