From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 17 18:30:08 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 4B23E16A41F for ; Thu, 17 Nov 2005 18:30:08 +0000 (GMT) (envelope-from rools.ster@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DD7F43D75 for ; Thu, 17 Nov 2005 18:30:00 +0000 (GMT) (envelope-from rools.ster@gmail.com) Received: by wproxy.gmail.com with SMTP id i32so1859844wra for ; Thu, 17 Nov 2005 10:30:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=BndoL2oL4CInmv7nfgzPxxYh0A2bkrXcsrWgWxouQe5hB44Vuknu7vMUsp4a1SDliKM5HOhmlQC3rpraJJDzLpvTW9n7yglVfNUty/koXl4BVedHOBtZykLawtA6T0GU1FAEYRVIwrEM0L77T+F4+8JMYeS67kYhrcxFmaN3+VQ= Received: by 10.65.196.17 with SMTP id y17mr165551qbp; Thu, 17 Nov 2005 10:29:59 -0800 (PST) Received: by 10.64.76.16 with HTTP; Thu, 17 Nov 2005 10:29:59 -0800 (PST) Message-ID: Date: Thu, 17 Nov 2005 18:29:59 +0000 From: Cornelis Swanepoel To: "Giovanni P. Tirloni" In-Reply-To: <437CB004.2000401@tirloni.org> MIME-Version: 1.0 References: <437CB004.2000401@tirloni.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: Filesystem monitoring question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 18:30:08 -0000 > > > Using kqueue you can monitor a file/directory for changes and have it > trigger something when that event happens. But you want to monitor you > whole partition.. perhaps intercept some syscalls ? > > Thanks a bunch for the replies, I'll do some more homework on all 3 options= . At least I know where to start now. Thanks again Cornelis