On Fri, Mar 02, 2001 at 01:59:34PM +0100, Dag-Erling Smorgrav wrote:
> Peter Dufault <[EMAIL PROTECTED]> writes:
> > > > Do an msync with MS_SYNC someplace. Also, use MAP_NOSYNC in
> > > > mmap until 4.3 when Matt Dillon plans to make that the default behavior.
> > > Ahh, no. That's the other way around - I do not *want* it to hit the
> > > disk, but would like to *know* when it nevertheless does.
> > OK, doing a stat and checking the mtime should give you
> > the info at the expense of polling, I can't think of another way.
>
> Won't help. You'll get the same mtime no matter whether the file is
> actually written to disk or not.
That's what I suspected. :-(
So is there a way, or is not?
Thanks,
--
May the tuna salad be with you.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message