Subject: Re: that VM/fs cache coherency problem
To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
From: Anders Magnusson <ragge@ludd.luth.se>
List: tech-kern
Date: 08/02/1995 15:19:24
>
> I have been unable to reproduce the problem with tail. But I have
> found a way to provoke it consistently (this works even on the sparc):
>
> # cd /usr/src
> # make >& zerrs &
> # tail -f zerrs
> ...wait for a couple of lines to show up after tail -f prints its
> initial blip of output, then in another window...
> # vi zerrs
>
> vi sees the file with an up-to-date size, but contents as of the time
> tail -f started up. The space between that point and EOF is filled
> with NULs.
>
Interesting, I tried exactly the same thing on a VAX, and it worked
as it should; e.g. vi did get the whole file without NULs. This sounds
like some machine-specific fix should be needed.
-- Ragge