From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 1 13:59:07 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B93F016A4CF for ; Tue, 1 Feb 2005 13:59:07 +0000 (GMT) Received: from pinus.cc.fer.hr (pinus.cc.fer.hr [161.53.73.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAD7143D2F for ; Tue, 1 Feb 2005 13:59:06 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [161.53.72.113] (lara.cc.fer.hr [161.53.72.113]) by pinus.cc.fer.hr (8.12.2/8.12.2) with ESMTP id j11Dx65B004660; Tue, 1 Feb 2005 14:59:06 +0100 (MET) Message-ID: <41FF8B00.2010208@fer.hr> Date: Tue, 01 Feb 2005 14:58:24 +0100 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0 (X11/20041213) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Deomid Ryabkov References: <41FF6869.5060709@rojer.pp.ru> <41FF8587.6080109@fer.hr> <41FF87B4.4000008@rojer.pp.ru> In-Reply-To: <41FF87B4.4000008@rojer.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org Subject: Re: Question: tracking filesystem changes? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Feb 2005 13:59:07 -0000 Deomid Ryabkov wrote: > Ivan Voras wrote: > >> Deomid Ryabkov wrote: >> >>> This could be a custom filesystem wrapper for UFS that would report >>> name of the file/directory being changed. >> >> >> >> Couldn't you use kqueue system to monitor the directory-file? > > > I could, if I hadn't near 10 millions of them. Hm. I meant monitoring the directory itself, as a file, then parsing the directory list to determine what has changed. But with 10M files, probably nothing would work...