From owner-freebsd-hackers Wed Apr 15 10:08:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12589 for freebsd-hackers-outgoing; Wed, 15 Apr 1998 10:08:40 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from euthyphro.uchicago.edu (euthyphro.uchicago.edu [128.135.21.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA12370 for ; Wed, 15 Apr 1998 17:08:07 GMT (envelope-from sfarrell@phaedrus.uchicago.edu) Received: from phaedrus.uchicago.edu (phaedrus [128.135.21.10]) by euthyphro.uchicago.edu (8.8.6/8.8.4) with ESMTP id MAA21180; Wed, 15 Apr 1998 12:07:46 -0500 (CDT) Received: (from sfarrell@localhost) by phaedrus.uchicago.edu (8.8.8/8.8.5) id MAA01195; Wed, 15 Apr 1998 12:07:36 -0500 (CDT) To: Dan Nelson Cc: "Matthew N. Dodd" , Eivind Eklund , "Eric A. Davis" , freebsd-hackers@FreeBSD.ORG Subject: Re: how to add new system calls... References: <19980415125729.03160@follo.net> <19980415110441.A938@emsphone.com> From: sfarrell+lists@farrell.org Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 15 Apr 1998 12:07:36 -0500 In-Reply-To: Dan Nelson's message of "Wed, 15 Apr 1998 11:04:41 -0500" Message-ID: <87hg3vko87.fsf@phaedrus.uchicago.edu> Lines: 28 X-Mailer: Gnus v5.6.3/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Nelson writes: > In the last episode (Apr 15), Matthew N. Dodd said: > > On Wed, 15 Apr 1998, Eivind Eklund wrote: > > > YES! I've been missing this since I left my Amiga 5 years ago! > > > > > > Does the above imply watching for changes in directories, too? Ie, > > > file added to directory, notification sent... > > > > > > What level of notification? Do you get information saying 'file so > > > changed atime to XXX'/'file XXX added to directory', or just a flag > > > saying 'event so happened on descriptor so'? > > > > Mmm... tripwired > > Sort of like tripwire, but in real time. The Amiga has a feature where > you could monitor a file or directory for changes. Imagine cron > getting a signal when /var/cron/tabs changes. Or any other daemon that > has a config file. There's a description of the function (but not the > assosicated structures unfortunately) at Also applicable, perhaps, to GUI items like file managers so they do not need to poll the directory. -- Steve Farrell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message