From owner-freebsd-arch@FreeBSD.ORG Fri May 11 07:27:34 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D7753106566B for ; Fri, 11 May 2012 07:27:34 +0000 (UTC) (envelope-from howard0su@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6C33D8FC08 for ; Fri, 11 May 2012 07:27:34 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so2278495wgb.31 for ; Fri, 11 May 2012 00:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=0GR8OeSNOSyipAwf2TaIP9lGtcxIDNM+VRGnNYYWUrA=; b=AAq94bRvsG/PcsAlVLi0CWF6qpNiGy/mEpigspDc3VD+U3QyHPDUp1MyBnIpRt/ypP Is48sL20t1XtrnjSSjIoHZoa28qMeW7BQVA05Cb8XcwmCRA93tT6JBKaPzVZxVNXpFPv 3sJxu2NLJg1NWgn1WUUrmsPE7Hyfcr2/5Er0mf/0QdhbrtzGAt3wQUyuqh1/9I1f7we5 68vcdCfcX6NyyLdVfZ8tCbLZyTIBM3tPd+c0EJhfGodvi83lq7hkvIvAnjR3sp60wh02 C7L0l7PZ+eEU5M91VNhaIwjhQJlZcM7x7uzhF+ix0IhVFhqn1PqspQcTtt2TucCtD2lt aIlw== MIME-Version: 1.0 Received: by 10.180.105.194 with SMTP id go2mr4815552wib.22.1336721253430; Fri, 11 May 2012 00:27:33 -0700 (PDT) Received: by 10.194.6.5 with HTTP; Fri, 11 May 2012 00:27:33 -0700 (PDT) Date: Fri, 11 May 2012 15:27:33 +0800 Message-ID: From: Howard Su To: freebsd-arch@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Inotify IN_CLOSE_WRITE Support X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2012 07:27:34 -0000 I tried inotifywait based on libinoitfy in the port. I noticed that the most interesting event to me, IN_CLOSE_WRITE, doesn't get triggered. I'd like to spend some to hack to get this supported. but I don't know where is good start point. IN_CLOSE_WRITE File opened for writing was closed (*). Anyone can give me some advice on this? -- -Howard