From owner-freebsd-hackers Wed Apr 15 03:57:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA25393 for freebsd-hackers-outgoing; Wed, 15 Apr 1998 03:57:58 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA25312 for ; Wed, 15 Apr 1998 10:57:53 GMT (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id KAA10350; Wed, 15 Apr 1998 10:57:41 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id MAA24768; Wed, 15 Apr 1998 12:57:40 +0200 (MET DST) Message-ID: <19980415125729.03160@follo.net> Date: Wed, 15 Apr 1998 12:57:29 +0200 From: Eivind Eklund To: "Eric A. Davis" , freebsd-hackers@FreeBSD.ORG Subject: Re: how to add new system calls... References: <199804142351.QAA16873@shark.nas.nasa.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199804142351.QAA16873@shark.nas.nasa.gov>; from Eric A. Davis on Tue, Apr 14, 1998 at 04:51:08PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Apr 14, 1998 at 04:51:08PM -0700, Eric A. Davis wrote: > > I am working on a project (for McKusick's Adv. Kernel class) that allows > user level processes to monitor filesystem activity on a file by file > basis. The application program expresses interest in files by supplying > the pathname of a file and a set of events to be monitored. These events > can be create file, delete file, size changed, attributes changed, etc. 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'? Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message