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 1O9nzZ-0006iE-L5 for garchives@archives.gentoo.org; Wed, 05 May 2010 23:27:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59838E079B; Wed, 5 May 2010 23:26:09 +0000 (UTC) Received: from mail2.pcorp.com.au (mail2.pcorp.com.au [150.101.72.19]) by pigeon.gentoo.org (Postfix) with ESMTP id D59C7E079B for ; Wed, 5 May 2010 23:26:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail2.pcorp.com.au (Postfix) with ESMTP id 1262DA70001 for ; Thu, 6 May 2010 08:56:07 +0930 (CST) X-Virus-Scanned: amavisd-new at mail2.pcorp.com.au Received: from mail2.pcorp.com.au ([127.0.0.1]) by localhost (mail2.pcorp.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JQ30B0X1fOTs; Thu, 6 May 2010 08:56:06 +0930 (CST) Received: from [172.16.0.52] (unknown [172.16.0.52]) by mail2.pcorp.com.au (Postfix) with ESMTP id 52495A00013 for ; Thu, 6 May 2010 08:56:06 +0930 (CST) Subject: [gentoo-user] kernel notification of file system changes From: Iain Buchanan To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="ISO-8859-1" Date: Wed, 05 May 2010 16:24:34 +0930 Message-ID: <1273042474.20354.17.camel@localhost> 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 X-Mailer: Evolution 2.28.3.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 192eb696-8ac5-4f62-b4a3-139362675ddb X-Archives-Hash: b21148d11a822cc6fd82c6de7bcd7a4b Hi, 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. When a file is changed (ie. a write operation occurs), I then want to add that file or fd to a list in RAM. That's all. I know this may be a lot of data, considering streams and devices, but I can filter out /dev, /proc, etc. and just focus on "real" files. Is there anything that can do this? thanks :) -- Iain Buchanan I hate it when my foot falls asleep during the day cause that means it's going to be up all night. -- Steven Wright