From owner-freebsd-current Sun Sep 12 11:48:24 1999 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 7E2EB15553 for ; Sun, 12 Sep 1999 11:48:16 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id LAA31335; Sun, 12 Sep 1999 11:47:30 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <199909121847.LAA31335@gndrsh.dnsmgr.net> Subject: Re: An FS question perhaps... non blocking I/O. In-Reply-To: <199909121756.KAA38620@vashon.polstra.com> from John Polstra at "Sep 12, 1999 10:56:42 am" To: jdp@polstra.com (John Polstra) Date: Sun, 12 Sep 1999 11:47:30 -0700 (PDT) Cc: wollman@khavrinen.lcs.mit.edu, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > In article <199909091954.PAA13059@khavrinen.lcs.mit.edu>, > Garrett Wollman wrote: > > [POLLEXTEND, POLLATTRIB, POLLNLINK, POLLWRITE] > > > It is probably undocumented. I was a bit reluctant to document it > > since I know that the interface is not correct. One of these days, > > I (or more likely some enterprising young hacker) will fix it. > > Just to avoid duplicated effort: I currently have work in progress > on a "fslog" pseudo-device. It enables you to monitor a filesystem > and receive notifications for all interesting changes to files and > directories. This includes reads, writes, renames, file creations, > unlinks, links, etc. -- anything that changes the stat(2) results > for a file, or causes directory entries to be created, destroyed, or > changed. The device itself is working, but so far I have implemented > the support for only a few of the event types. It won't take much > more work to finish it. > > My personal interest is to allow a CVSup master server to avoid > doing a tree walk whenever a client connects. I want to provide the > functionality of the old "supscan" utility, but in real time. COOL!! And these mods could make a really nice addition to system auditing tools required by high security systems. Do you pass anytype of ``who done it'' via fslog? -- Rod Grimes - KD7CAX - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message