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 1O9nzN-0006gD-Gh for garchives@archives.gentoo.org; Wed, 05 May 2010 23:26:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67A4BE07CB; 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 E7D35E07CB 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 4D3D3A00013 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 etwzkFU6HZYJ; 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 C9535A00015 for ; Thu, 6 May 2010 08:56:06 +0930 (CST) Subject: Re: [gentoo-user] kernel notification of file system changes From: Iain Buchanan To: gentoo-user@lists.gentoo.org In-Reply-To: References: <1273042474.20354.17.camel@localhost> Content-Type: text/plain; charset="ISO-8859-1" Date: Thu, 06 May 2010 08:54:44 +0930 Message-ID: <1273101884.20354.20.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: 5559cae2-95bd-4a83-a33e-f52c87625053 X-Archives-Hash: 73dc5825676aa13354e2329ae9fffe37 On Wed, 2010-05-05 at 17:02 +0200, Helmut Jarausch wrote: > Might be I've just asked a similar question on the ZSH mailing list. > Please have a look at inotifywatch from the sys-fs/inotify-tools > package. It can watch a directory tree recursively. it does look interesting, thanks. I would still run into the directory limit if I wanted to watch something large like / $ sudo find / -xdev -type d | wc -l 71168 "...The default maximum is 8192; it can be increased by writing to /proc/sys/fs/inotify/max_user_watches." but it's an angle to follow. I wonder how max_user_watches would handle being 100k or more... no doubt you just need some RAM?! thanks, -- Iain Buchanan we should send him a commemorative gentoo crack pipe for all his contributions to this project