From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1O9elE-0004Wv-7S for garchives@archives.gentoo.org; Wed, 05 May 2010 13:35:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3AF2E07F9; Wed, 5 May 2010 13:35:03 +0000 (UTC) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by pigeon.gentoo.org (Postfix) with ESMTP id 53B93E07FD for ; Wed, 5 May 2010 13:35:03 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.52,333,1270422000"; d="scan'208";a="186366462" Received: from 213-152-39-90.dsl.eclipse.net.uk (HELO compaq.stroller.uk.eu.org) ([213.152.39.90]) by smtpout.karoo.kcom.com with ESMTP; 05 May 2010 14:35:01 +0100 Received: from funf.stroller.uk.eu.org (funf.stroller.uk.eu.org [192.168.1.71]) by compaq.stroller.uk.eu.org (Postfix) with ESMTP id 7057F3E119 for ; Wed, 5 May 2010 14:34:59 +0100 (BST) Message-Id: <07250F7A-39A9-4417-A0E8-CBCD4E8CDDC6@stellar.eclipse.co.uk> From: Stroller To: gentoo-user@lists.gentoo.org In-Reply-To: <1273042474.20354.17.camel@localhost> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [gentoo-user] kernel notification of file system changes Date: Wed, 5 May 2010 14:34:58 +0100 References: <1273042474.20354.17.camel@localhost> X-Mailer: Apple Mail (2.936) X-Archives-Salt: be927c8a-136a-410a-8c4b-533825995c00 X-Archives-Hash: 3d2a0e676aca7570a6de6bc52b72bb18 On 5 May 2010, at 07:54, Iain Buchanan wrote: > ... > I'm looking for some kernel-based notification of changes to my file > system. I've been looking at inotify, but it's not exactly what I > want. > > Basically I want to know if _any_ write occurs anywhere. I don't want > to register a whole bunch of files to watch, I just want to watch an > entire mount. man inotify(7): ... When a directory is monitored, inotify will return events for the directory itself, and for files inside the directory. Am I missing something? This article was posted to a different froup recently: http://www.ibm.com/developerworks/linux/library/l-inotify/index.html It looks interesting. Stroller.