Skip site navigation (1)Skip section navigation (2)
Date:      20 Feb 2001 16:13:03 -0500
From:      Randell Jesup <rjesup@wgate.com>
To:        "Jonathan Graehl" <jonathan@graehl.org>
Cc:        <freebsd-arch@FreeBSD.ORG>
Subject:   Re: modifying config files for a running daemon
Message-ID:  <ybuelwt2h40.fsf@jesup.eng.tvol.net.jesup.eng.tvol.net>
In-Reply-To: "Jonathan Graehl"'s message of "Tue, 20 Feb 2001 12:48:19 -0800"
References:  <NCBBLOALCKKINBNNEDDLMEECDLAA.jonathan@graehl.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Jonathan Graehl" <jonathan@graehl.org> writes:
>Is there any way to be sure of receiving a change notification only after the
>writer has closed the file?

        At the moment, I don't think so, since there's no change
notification.  Certainly it wouldn't be tough to create a protocol/API that
provided that functionality, at least if you can guarantee that the writer
uses the protocol, or by use of a special pseudo-fs, etc.  Since a
change-notification protocol/API would need to be defined anyways, there
wouldn't be a problem including this.  I believe that the support for file
notification in the Amiga ramdisk notified on close of a modified file
(I've lost too many neurons to be sure).

        Providing it on an arbitrary FS _without_ requiring the writer to
use the defined protocol would be quite a hairy change to make, of course.

-- 
Randell Jesup, Worldgate Communications, ex-Scala, ex-Amiga OS team ('88-94)
rjesup@wgate.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybuelwt2h40.fsf>