From owner-freebsd-current Fri Sep 17 23:57:43 1999 Delivered-To: freebsd-current@freebsd.org Received: from mg136-146.ricochet.net (mg136-146.ricochet.net [204.179.136.146]) by hub.freebsd.org (Postfix) with ESMTP id 0B00915552 for ; Fri, 17 Sep 1999 23:56:17 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.fircrest.net (8.9.1/8.8.7) id XAA03072; Thu, 16 Sep 1999 23:28:55 -0700 (PDT) Message-ID: <19990916232849.35971@hydrogen.fircrest.net> Date: Thu, 16 Sep 1999 23:28:49 -0700 From: John-Mark Gurney To: John Polstra Cc: wollman@khavrinen.lcs.mit.edu, current@FreeBSD.ORG Subject: Re: An FS question perhaps... non blocking I/O. References: <000601befafb$83fbb8c0$291c453f@kbyanc.alcnet.com> <199909091954.PAA13059@khavrinen.lcs.mit.edu> <199909121756.KAA38620@vashon.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199909121756.KAA38620@vashon.polstra.com>; from John Polstra on Sun, Sep 12, 1999 at 10:56:42AM -0700 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Polstra scribbled this message on Sep 12: > 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. ugh, why aren't you extending poll to work on files and directories to get this info?? it would make MUCH more sense to extend poll to do this.. any specific reason why it wasn't done this way? > 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. I completely agree that something like this should be implemented.. then we can out shine winXX in where file managers have files appeare INSTANTLY after they are created... :) -- John-Mark Gurney Voice: +1 541 684 8449 Cu Networking P.O. Box 5693, 97405 "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message